MCPcopy Create free account
hub / github.com/davisking/dlib / get_column_as_int

Method get_column_as_int

dlib/sqlite/sqlite.h:328–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326 }
327
328 int get_column_as_int (
329 unsigned long idx
330 ) const
331 {
332 // make sure requires clause is not broken
333 DLIB_ASSERT(idx < get_num_columns(),
334 "\t int statement::get_column_as_int()"
335 << "\n\t Invalid column index."
336 << "\n\t idx: " << idx
337 << "\n\t this: " << this
338 );
339
340 return sqlite3_column_int(stmt, idx);
341 }
342
343 int64 get_column_as_int64 (
344 unsigned long idx

Callers 1

query_intFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected