DCFSQLite 1.0.0

DCFSQLite 1.0.0

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

Maintained by Unclaimed.


Downloads

Total135
Week0
Month0

Installs

Apps8
Test Targets1
powered by Segment

GitHub

Stars4
Watchers1
Forks0
Issues0
Contributors1
Pull Requests0

Code

Files2
LOCLines of Code 262


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