![]() |
Ignite Tools
|
00001 // 00002 // UA_FMDatabaseAdditions.h 00003 // fmkit 00004 // 00005 // Created by August Mueller on 10/30/05. 00006 // Copyright 2005 Flying Meat Inc.. All rights reserved. 00007 // 00008 00009 #import <Foundation/Foundation.h> 00010 @interface UA_FMDatabase (UA_FMDatabaseAdditions) 00011 00012 00013 - (int)intForQuery:(NSString*)objs, ...; 00014 - (long)longForQuery:(NSString*)objs, ...; 00015 - (BOOL)boolForQuery:(NSString*)objs, ...; 00016 - (double)doubleForQuery:(NSString*)objs, ...; 00017 - (NSString*)stringForQuery:(NSString*)objs, ...; 00018 - (NSData*)dataForQuery:(NSString*)objs, ...; 00019 - (NSDate*)dateForQuery:(NSString*)objs, ...; 00020 00021 // Notice that there's no dataNoCopyForQuery:. 00022 // That would be a bad idea, because we close out the result set, and then what 00023 // happens to the data that we just didn't copy? Who knows, not I. 00024 00025 00026 - (BOOL)tableExists:(NSString*)tableName; 00027 - (UA_FMResultSet*)getSchema; 00028 - (UA_FMResultSet*)getTableSchema:(NSString*)tableName; 00029 - (BOOL)columnExists:(NSString*)tableName columnName:(NSString*)columnName; 00030 00031 @end