PageRenderTime 40ms CodeModel.GetById 36ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/MapView/Map/FMDB/FMDatabaseAdditions.h

http://github.com/route-me/route-me
C Header | 31 lines | 14 code | 7 blank | 10 comment | 0 complexity | 5909d3f53f698229761107fc8d20afad MD5 | raw file
 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>
10@interface FMDatabase (FMDatabaseAdditions)
11
12
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, ...;
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
25
26- (BOOL)tableExists:(NSString*)tableName;
27- (FMResultSet*)getSchema;
28- (FMResultSet*)getTableSchema:(NSString*)tableName;
29- (BOOL)columnExists:(NSString*)tableName columnName:(NSString*)columnName;
30
31@end