Lines Matching refs:query

457     std::string query = "SELECT MAX(version) FROM schema_versions;";  in Version()  local
458 DbStatement stmt = DbStatement::Prepare(db(), query); in Version()
579 std::string query = "SELECT * FROM packages WHERE id = ?1 LIMIT 1;"; in SelectById() local
580 DbStatement stmt = DbStatement::Prepare(db, query, id); in SelectById()
593 std::string query = "SELECT * FROM packages WHERE name = ?1;"; in SelectByName() local
594 DbStatement stmt = DbStatement::Prepare(db, query, name); in SelectByName()
611 std::string query = in SelectByNameAndVersion() local
613 DbStatement stmt = DbStatement::Prepare(db, query, name, version); in SelectByNameAndVersion()
626 std::string query = "SELECT * FROM packages;"; in SelectAll() local
627 DbStatement stmt = DbStatement::Prepare(db, query); in SelectAll()
686 std::string query = "SELECT * FROM activities WHERE id = ? LIMIT 1;"; in SelectById() local
687 DbStatement stmt = DbStatement::Prepare(db, query, id); in SelectById()
702 std::string query = "SELECT * FROM activities WHERE name = ? AND package_id = ? LIMIT 1;"; in SelectByNameAndPackageId() local
703 DbStatement stmt = DbStatement::Prepare(db, query, name, package_id); in SelectByNameAndPackageId()
717 std::string query = "SELECT * FROM activities WHERE package_id = ?;"; in SelectByPackageId() local
718 DbStatement stmt = DbStatement::Prepare(db, query, package_id); in SelectByPackageId()
803 std::string query = "SELECT * FROM app_launch_histories WHERE id = ? LIMIT 1;"; in SelectById() local
804 DbStatement stmt = DbStatement::Prepare(db, query, id); in SelectById()
832 std::string query = "SELECT * FROM app_launch_histories " in SelectActivityHistoryForCompile() local
837 DbStatement stmt = DbStatement::Prepare(db, query, activity_id); in SelectActivityHistoryForCompile()
1088 std::string query = in SelectAll() local
1091 DbStatement stmt = DbStatement::Prepare(db, query); in SelectAll()