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

Method field_int

lib_acl_cpp/src/db/db_handle.cpp:88–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88int db_row::field_int(size_t ifield, int null_value /* = 0 */) const
89{
90 const char* ptr = field_value(ifield);
91 if (ptr == NULL) {
92 return null_value;
93 } else {
94 return atoi(ptr);
95 }
96}
97
98int db_row::field_int(const char* name, int null_value /* = 0 */) const
99{

Callers 8

tbl_existsMethod · 0.80
db_add_nameMethod · 0.80
load_namesMethod · 0.80
load_idx_hostsMethod · 0.80
load_dat_hostsMethod · 0.80
load_db_hostsMethod · 0.80
load_db_tblsMethod · 0.80
load_tbl_idxesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected