diff options
Diffstat (limited to 'Frameworks/QueryKit/Source')
-rw-r--r-- | Frameworks/QueryKit/Source/QKQueryDatabases.h | 41 | ||||
-rw-r--r-- | Frameworks/QueryKit/Source/QueryKit.h | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/Frameworks/QueryKit/Source/QKQueryDatabases.h b/Frameworks/QueryKit/Source/QKQueryDatabases.h new file mode 100644 index 00000000..16843b2a --- /dev/null +++ b/Frameworks/QueryKit/Source/QKQueryDatabases.h @@ -0,0 +1,41 @@ +// +// $Id$ +// +// QKQueryDatabases.h +// QueryKit +// +// Created by Stuart Connolly (stuconnolly.com) on July 10, 2012 +// Copyright (c) 2012 Stuart Connolly. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person +// obtaining a copy of this software and associated documentation +// files (the "Software"), to deal in the Software without +// restriction, including without limitation the rights to use, +// copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following +// conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +// OTHER DEALINGS IN THE SOFTWARE. + +/** + * @enum QKQueryDatabase + * + * Used to specify the underlying database system we're generating queries for. + */ +typedef enum +{ + QKDatabaseMySQL, + QKDatabasePostgreSQL +} +QKQueryDatabase; diff --git a/Frameworks/QueryKit/Source/QueryKit.h b/Frameworks/QueryKit/Source/QueryKit.h index 2b62a7b5..624ba08b 100644 --- a/Frameworks/QueryKit/Source/QueryKit.h +++ b/Frameworks/QueryKit/Source/QueryKit.h @@ -31,5 +31,6 @@ #import <QueryKit/QKQuery.h> #import <QueryKit/QKQueryTypes.h> #import <QueryKit/QKQueryOperators.h> +#import <QueryKit/QKQueryDatabases.h> #import <QueryKit/QKQueryParameter.h> #import <QueryKit/QKQueryUtilities.h> |