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

Method print_out

lib_acl_cpp/src/db/db_handle.cpp:373–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

371}
372
373void db_handle::print_out(size_t max /* = 0 */) const
374{
375 // �г���ѯ���������
376 for (size_t i = 0; i < length(); i++) {
377 if (max > 0 && i >= max) {
378 continue;
379 }
380
381 const acl::db_row* row = (*this)[i];
382
383 for (size_t j = 0; j < row->length(); j++) {
384 printf("%s, ", (*row)[j]);
385 }
386 printf("\r\n");
387 }
388
389 printf("total result: %d\n", (int) length());
390}
391
392
393const db_rows* db_handle::get_result() const

Callers

nothing calls this directly

Calls 2

lengthFunction · 0.50
lengthMethod · 0.45

Tested by

no test coverage detected