MCPcopy Create free account
hub / github.com/acl-dev/acl / get_first_row

Method get_first_row

lib_acl_cpp/src/db/db_handle.cpp:417–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417const db_row* db_handle::get_first_row() const
418{
419 if (result_ == NULL) {
420 return NULL;
421 }
422
423 const std::vector<db_row*>& rows = result_->get_rows();
424 const acl::db_row* first_row = rows[0];
425 acl_assert(first_row);
426 return first_row;
427}
428
429void db_handle::free_result()
430{

Callers 3

db_add_nameMethod · 0.80
get_keyMethod · 0.80
load_mail_dbMethod · 0.80

Calls 1

get_rowsMethod · 0.80

Tested by

no test coverage detected