sqlite

class sqlite()

Construct a new SQLite database worker.

sqlite.open(database)

Open a new database.

Throws:If unable to open the database.
sqlite.exec(query[, callback])

Execute a SQL query. The callback will be called with the first argument as an array, holding the results.

Throws:If a SQLite error is occured, or the database is not opened.
sqlite.close()

Close an opened database.

Throws:If unable to close the database, or there is not a database currently opened.