Lines Matching defs:sql

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()
301 static std::optional<int> Insert(DbHandle db, const std::string& sql, Args&&... args) { in Insert()
318 static bool Delete(DbHandle db, const std::string& sql, Args&&... args) { in Delete()
323 static bool Update(DbHandle db, const std::string& sql, Args&&... args) { in Update()
328 static bool ExecuteOnce(DbHandle db, const std::string& sql, Args&&... args) { in ExecuteOnce()
641 const char* sql = "INSERT INTO packages (name, version) VALUES (?1, ?2);"; in Insert() local
658 const char* sql = "DELETE FROM packages WHERE id = ?"; in Delete() local
732 const char* sql = "INSERT INTO activities (name, package_id) VALUES (?1, ?2);"; in Insert() local
866 const char* sql = "INSERT INTO app_launch_histories (activity_id, temperature, trace_enabled, " in Insert() local
904 const char* sql = "UPDATE app_launch_histories " in UpdateReportFullyDrawn() local
972 const char* sql = in SelectByVersionedComponentName() local
1000 const char* sql = in SelectByHistoryId() local
1019 const char* sql = "INSERT INTO raw_traces (history_id, file_path) VALUES (?1, ?2);"; in Insert() local
1036 const char* sql = "DELETE FROM raw_traces WHERE id = ?"; in Delete() local
1063 const char* sql = in SelectByVersionedComponentName() local
1105 const char* sql = "INSERT INTO prefetch_files (activity_id, file_path) VALUES (?1, ?2);"; in Insert() local
1122 const char* sql = "DELETE FROM prefetch_files WHERE id = ?"; in Delete() local