Home
last modified time | relevance | path

Searched refs:DbStatement (Results 1 – 1 of 1) sorted by relevance

/system/iorap/src/db/
Dmodels.h89 class DbStatement {
92 static DbStatement Prepare(DbHandle db, const std::string& sql, Args&&... args) { in Prepare()
97 static DbStatement Prepare(DbHandle db, const char* sql, Args&&... args) { in Prepare()
106 DbStatement db_stmt{db, stmt}; in Prepare()
113 DbStatement(DbHandle db, sqlite3_stmt* stmt) : db_(db), stmt_(stmt) { in DbStatement() function
266 DbStatement(DbStatement&& other) in DbStatement() function
273 ~DbStatement() { in ~DbStatement()
305 DbStatement stmt = DbStatement::Prepare(db, sql, std::forward<Args>(args)...); in Insert()
331 DbStatement stmt = DbStatement::Prepare(db, sql, std::forward<Args>(args)...); in ExecuteOnce()
341 static bool SelectOnce(DbStatement& stmt, Args&... args) { in SelectOnce()
[all …]