Searched refs:stmt_ (Results 1 – 1 of 1) sorted by relevance
/system/iorap/src/db/ |
D | models.h | 113 DbStatement(DbHandle db, sqlite3_stmt* stmt) : db_(db), stmt_(stmt) { in DbStatement() 117 return stmt_; in get() 143 CheckOk(sqlite3_bind_int(stmt_, bind_counter_++, value)); in Bind() 147 CheckOk(sqlite3_bind_int(stmt_, bind_counter_++, value)); in Bind() 151 CheckOk(sqlite3_bind_int64(stmt_, bind_counter_++, static_cast<int64_t>(value))); in Bind() 157 CheckOk(sqlite3_bind_text(stmt_, /*index*/bind_counter_++, value, -1, SQLITE_TRANSIENT)); in Bind() 173 CheckOk(sqlite3_bind_null(stmt_, bind_counter_++)); in BindNull() 178 return sqlite3_step(stmt_); in Step() 207 const unsigned char* text = sqlite3_column_text(stmt_, column_counter_ - 1); in Column() 224 value = sqlite3_column_int(stmt_, column_counter_++); in Column() [all …]
|