Lines Matching defs:stmt
46 /// \param stmt The statement from which to get the column value.
54 int64_column(sqlite::statement& stmt, const char* column)
58 index = stmt.column_id(column);
63 if (stmt.column_type(index) != sqlite::type_integer)
66 return stmt.column_int64(index);
118 sqlite::statement stmt = db.create_statement(
121 if (!stmt.step())
125 static_cast< int >(int64_column(stmt, "schema_version"));
126 const int64_t timestamp_ = int64_column(stmt, "timestamp");
128 if (stmt.step())