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

Method ExistsRowString

src/colmap/scene/database_sqlite.cc:2336–2345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2334 }
2335
2336 bool ExistsRowString(sqlite3_stmt* sql_stmt,
2337 const std::string& row_entry) const {
2338 Sqlite3StmtContext context(sql_stmt);
2339 SQLITE3_CALL(sqlite3_bind_text(sql_stmt,
2340 1,
2341 row_entry.c_str(),
2342 static_cast<int>(row_entry.size()),
2343 SQLITE_STATIC));
2344 return SQLITE3_CALL(sqlite3_step(sql_stmt)) == SQLITE_ROW;
2345 }
2346
2347 size_t CountRows(const std::string& table) const {
2348 const std::string sql =

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected