MCPcopy Create free account
hub / github.com/colmap/colmap / ExistsRowId

Method ExistsRowId

src/colmap/scene/database_sqlite.cc:2329–2334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2327 }
2328
2329 bool ExistsRowId(sqlite3_stmt* sql_stmt, const sqlite3_int64 row_id) const {
2330 Sqlite3StmtContext context(sql_stmt);
2331 SQLITE3_CALL(
2332 sqlite3_bind_int64(sql_stmt, 1, static_cast<sqlite3_int64>(row_id)));
2333 return SQLITE3_CALL(sqlite3_step(sql_stmt)) == SQLITE_ROW;
2334 }
2335
2336 bool ExistsRowString(sqlite3_stmt* sql_stmt,
2337 const std::string& row_entry) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected