A wrapper for sqlite3