Home
last modified time | relevance | path

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

/system/iorap/src/db/
Dmodels.h92 static DbStatement Prepare(DbHandle db, const std::string& sql, Args&&... args) { in Prepare() argument
93 return Prepare(db, sql.c_str(), std::forward<Args>(args)...); in Prepare()
97 static DbStatement Prepare(DbHandle db, const char* sql, Args&&... args) { in Prepare() argument
99 DCHECK(sql != nullptr); in Prepare()
104 int rc = sqlite3_prepare_v2(db.get(), sql, -1, /*out*/&stmt, nullptr); in Prepare()
107 DCHECK(db_stmt.CheckOk(rc)) << sql; in Prepare()
301 static std::optional<int> Insert(DbHandle db, const std::string& sql, Args&&... args) { in Insert() argument
305 DbStatement stmt = DbStatement::Prepare(db, sql, std::forward<Args>(args)...); in Insert()
318 static bool Delete(DbHandle db, const std::string& sql, Args&&... args) { in Delete() argument
319 return ExecuteOnce(db, sql, std::forward<Args>(args)...); in Delete()
[all …]
/system/logging/logcat/
Devent.logtags100 # sql: the executed query (without query args)
104 52000 db_sample (db|3),(sql|3),(time|1|3),(blocking_package|3),(sample_percent|1|6)