Lines Matching refs:ref_

18 // we don't have to NULL-check the ref_ to see if the statement is valid: we
21 : ref_(new Connection::StatementRef),
26 : ref_(ref),
39 ref_ = ref;
45 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_DONE;
51 return CheckError(sqlite3_step(ref_->stmt())) == SQLITE_ROW;
59 sqlite3_clear_bindings(ref_->stmt());
60 sqlite3_reset(ref_->stmt());
73 int err = CheckError(sqlite3_bind_null(ref_->stmt(), col + 1));
85 int err = CheckError(sqlite3_bind_int(ref_->stmt(), col + 1, val));
93 int err = CheckError(sqlite3_bind_int64(ref_->stmt(), col + 1, val));
101 int err = CheckError(sqlite3_bind_double(ref_->stmt(), col + 1, val));
109 int err = CheckError(sqlite3_bind_text(ref_->stmt(), col + 1, val, -1,
118 int err = CheckError(sqlite3_bind_text(ref_->stmt(), col + 1, val.data(),
131 int err = CheckError(sqlite3_bind_blob(ref_->stmt(), col + 1,
143 return sqlite3_column_count(ref_->stmt());
154 return static_cast<ColType>(sqlite3_column_type(ref_->stmt(), col));
166 return sqlite3_column_int(ref_->stmt(), col);
174 return sqlite3_column_int64(ref_->stmt(), col);
182 return sqlite3_column_double(ref_->stmt(), col);
191 sqlite3_column_text(ref_->stmt(), col));
192 int len = sqlite3_column_bytes(ref_->stmt(), col);
214 return sqlite3_column_bytes(ref_->stmt(), col);
223 return sqlite3_column_blob(ref_->stmt(), col);
248 const void* data = sqlite3_column_blob(ref_->stmt(), col);
249 int len = sqlite3_column_bytes(ref_->stmt(), col);
263 return sqlite3_sql(ref_->stmt());
270 return ref_->connection()->OnSqliteError(err, this);