TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
DCFSQLite - Library for easy access, execution of commands and queries in mobile iOS applications using SQLite.
You need to import SQLite3 framework. Frameworks-> Add existing framework->libsql3.dylib
# import "DCFSQLite.h"
//Init database
[DCFSQLite initDB:@"myapp.db"];
// To create, insert, update and delete
BOOL ok = [DCFSQLite execSQL:@"INSERT INTO Customer (name, email) VALUES ('Diego', '[email protected]')"];
//OR
BOOL ok = [DCFSQLite execSQL:@"INSERT INTO Customer (name, email) VALUES (?, ?)", @"Diego", @"[email protected]"];
//For get result queryes
NSArray *qryResult = [DCFSQLite getRows:@"SELECT * FROM Customer"];