Lines Matching refs:db
61 ::sqlite3* db;
77 db_filename(db_filename_), db(db_), owned(owned_)
91 if (owned && db != NULL)
108 ::sqlite3* db;
109 const int error = ::sqlite3_open_v2(file, &db, flags, NULL);
111 if (db == NULL)
115 db, true);
120 INV(db != NULL);
121 return db;
128 PRE(db != NULL);
129 int error = ::sqlite3_close(db);
134 db = NULL;
240 return _pimpl->db;
284 const int error = ::sqlite3_exec(_pimpl->db, sql.c_str(), NULL, NULL, NULL);
313 const int error = ::sqlite3_prepare_v2(_pimpl->db, sql.c_str(),
327 return ::sqlite3_last_insert_rowid(_pimpl->db);