-
Notifications
You must be signed in to change notification settings - Fork 2
Object-oriented convenience wrapper around the procedural sqlite3 API
H2CO3/SQLHelper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Esay-to-use SQL helper class for simple, quick and easy database operations. Usage: SQLHelper *sqh = [[SQLHelper alloc] initWithContentsOfFile:@"SomeDB.sqlite3"]; NSArray *rows = [sqh executeQuery:@"SELECT name, value FROM fruits"]; for (NSDictionary *row in rows) { NSString *name = [row objectForKey:@"name"]; NSNumber *value = [row objectForKey:@"value"]; NSLog(@"%@ is worth $%@", name, value); } [sqh release]; Result: Orange is worth $100000 Apple is worth $1000000000 etc. The actual objects contained by a row dictionary can be NSString, NSNumber, NSData and NSNull objects, depending on how the actual value was stored in the SQLite database.
About
Object-oriented convenience wrapper around the procedural sqlite3 API
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published