DCFSQLite 1.0.0

DCFSQLite 1.0.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.



DCFSQLite 1.0.0

DCFSQLite - Library for easy access, execution of commands and queries in mobile iOS applications using SQLite.

BEFORE

You need to import SQLite3 framework. Frameworks-> Add existing framework->libsql3.dylib

HOW TO USE

# 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"];