| 341 | } |
| 342 | |
| 343 | int64 get_column_as_int64 ( |
| 344 | unsigned long idx |
| 345 | ) const |
| 346 | { |
| 347 | // make sure requires clause is not broken |
| 348 | DLIB_ASSERT(idx < get_num_columns(), |
| 349 | "\t int64 statement::get_column_as_int64()" |
| 350 | << "\n\t Invalid column index." |
| 351 | << "\n\t idx: " << idx |
| 352 | << "\n\t this: " << this |
| 353 | ); |
| 354 | |
| 355 | return sqlite3_column_int64(stmt, idx); |
| 356 | } |
| 357 | |
| 358 | const std::string get_column_name ( |
| 359 | unsigned long idx |