Skip to content
Newer
Older
100644 34 lines (25 sloc) 1011 Bytes
d24bd62 @ccgus added a new jstalk extra, using fmdb, as well as adding support to lo…
authored
1 //
2 // FMDatabaseAdditions.h
3 // fmkit
4 //
5 // Created by August Mueller on 10/30/05.
6 // Copyright 2005 Flying Meat Inc.. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
4843fe1 Changed the FMDatabase class to "JSTDatabase" - since folks who were …
August Mueller authored
10 @interface JSTDatabase (JSTDatabaseAdditions)
d24bd62 @ccgus added a new jstalk extra, using fmdb, as well as adding support to lo…
authored
11
12
3ba2fc0 @ccgus Updated to the latest release of FMDatabase
authored
13 - (int)intForQuery:(NSString*)objs, ...;
14 - (long)longForQuery:(NSString*)objs, ...;
15 - (BOOL)boolForQuery:(NSString*)objs, ...;
16 - (double)doubleForQuery:(NSString*)objs, ...;
17 - (NSString*)stringForQuery:(NSString*)objs, ...;
18 - (NSData*)dataForQuery:(NSString*)objs, ...;
19 - (NSDate*)dateForQuery:(NSString*)objs, ...;
d24bd62 @ccgus added a new jstalk extra, using fmdb, as well as adding support to lo…
authored
20
21 // Notice that there's no dataNoCopyForQuery:.
22 // That would be a bad idea, because we close out the result set, and then what
23 // happens to the data that we just didn't copy? Who knows, not I.
24
4843fe1 Changed the FMDatabase class to "JSTDatabase" - since folks who were …
August Mueller authored
25
3ba2fc0 @ccgus Updated to the latest release of FMDatabase
authored
26 - (BOOL)tableExists:(NSString*)tableName;
27 - (JSTResultSet*)getSchema;
28 - (JSTResultSet*)getTableSchema:(NSString*)tableName;
29 - (BOOL)columnExists:(NSString*)tableName columnName:(NSString*)columnName;
30
31 - (BOOL)validateSQL:(NSString*)sql error:(NSError**)error;
4843fe1 Changed the FMDatabase class to "JSTDatabase" - since folks who were …
August Mueller authored
32
d24bd62 @ccgus added a new jstalk extra, using fmdb, as well as adding support to lo…
authored
33 @end
Something went wrong with that request. Please try again.