Advertisement
Oshevnev

SQLiteAccess.h

Jul 25th, 2012
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. #define dbName @"db"
  4.  
  5. @interface SQLiteAccess : NSObject {
  6. }
  7.  
  8. + (NSString *)selectOneValueSQL:(NSString *)sql;
  9. + (NSArray *)selectManyValuesWithSQL:(NSString *)sql;
  10. + (NSDictionary *)selectOneRowWithSQL:(NSString *)sql;
  11. + (NSArray *)selectManyRowsWithSQL:(NSString *)sql;
  12. + (NSNumber *)insertWithSQL:(NSString *)sql;
  13. + (void)updateWithSQL:(NSString *)sql;
  14. + (void)deleteWithSQL:(NSString *)sql;
  15.  
  16. @end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement