SQLite plugin for the Swift-Kuery framework.
SQLite plugin for the Swift-Kuery framework. It enables you to use Swift-Kuery to manipulate data in a SQLite database.
To use Swift-Kuery-SQLite you must install SQLite.
$ brew install sqlite
$ sudo apt-get install sqlite3 libsqlite3-dev
First create an instance of Swift-Kuery-SQLite
by calling:
let db = SQLiteConnection(filename: "myDB.db")
To establish a connection call:
db.connect(onCompletion: (QueryError?) -> ())
You now have a connection that can be used to execute SQL queries created using Swift-Kuery. View the Kuery documentation for more information.
This library is licensed under Apache 2.0. Full license text is available in LICENSE.