Home | History | Annotate | Download | only in common

Lines Matching refs:sqlite3

16 #include "third_party/sqlite/sqlite3.h"
36 virtual int HandleError(int error, sqlite3* db) = 0;
58 explicit SQLTransaction(sqlite3* db);
97 sqlite3* db_;
121 // Returns the sqlite3 database connection associated with this site
123 sqlite3* GetSqlite3DB() { return db_; }
135 sqlite3* db_;
207 // Sqlite3's sqlite3_finalize() function should not be called directly
227 // A scoped sqlite statement with convenient C++ wrappers for sqlite3 APIs.
233 int prepare(sqlite3* db, const char* sql) {
237 int prepare(sqlite3* db, const char* sql, int sql_len);
243 sqlite3* db_handle();
352 inline void operator()(sqlite3* x) const {
357 typedef scoped_ptr_malloc<sqlite3, DBClose> scoped_sqlite_db_ptr;
363 int OpenSqliteDb(const FilePath& filepath, sqlite3** database);
368 bool DoesSqliteTableExist(sqlite3* db,
371 inline bool DoesSqliteTableExist(sqlite3* db, const char* table_name) {
382 bool DoesSqliteColumnExist(sqlite3* db,
387 inline bool DoesSqliteColumnExist(sqlite3* db,
396 bool DoesSqliteTableHaveRow(sqlite3* db, const char* table_name);