Home | History | Annotate | Download | only in sql

Lines Matching refs:Statement

5 #include "sql/statement.h"
15 // we don't have to NULL-check the ref_ to see if the statement is valid: we
17 Statement::Statement()
23 Statement::Statement(scoped_refptr<Connection::StatementRef> ref)
29 Statement::~Statement() {
30 // Free the resources associated with this statement. We assume there's only
31 // one statement active for a given sqlite3_stmt at any time, so this won't
36 void Statement::Assign(scoped_refptr<Connection::StatementRef> ref) {
41 void Statement::Clear() {
46 bool Statement::CheckValid() const {
47 // Allow operations to fail silently if a statement was invalidated
50 << "Cannot call mutating statements on an invalid statement.";
54 bool Statement::Run() {
64 bool Statement::Step() {
73 void Statement::Reset(bool clear_bound_vars) {
88 bool Statement::Succeeded() const {
95 bool Statement::BindNull(int col) {
103 bool Statement::BindBool(int col, bool val) {
107 bool Statement::BindInt(int col, int val) {
115 bool Statement::BindInt64(int col, int64 val) {
123 bool Statement::BindDouble(int col, double val) {
131 bool Statement::BindCString(int col, const char* val) {
140 bool Statement::BindString(int col, const std::string& val) {
152 bool Statement::BindString16(int col, const base::string16& value) {
156 bool Statement::BindBlob(int col, const void* val, int val_len) {
165 int Statement::ColumnCount() const {
172 ColType Statement::ColumnType(int col) const {
183 ColType Statement::DeclaredColumnType(int col) const {
199 bool Statement::ColumnBool(int col) const {
203 int Statement::ColumnInt(int col) const {
210 int64 Statement::ColumnInt64(int col) const {
217 double Statement::ColumnDouble(int col) const {
224 std::string Statement::ColumnString(int col) const {
238 base::string16 Statement::ColumnString16(int col) const {
246 int Statement::ColumnByteLength(int col) const {
253 const void* Statement::ColumnBlob(int col) const {
260 bool Statement::ColumnBlobAsString(int col, std::string* blob) {
274 bool Statement::ColumnBlobAsString16(int col, base::string16* val) const {
287 bool Statement::ColumnBlobAsVector(int col, std::vector<char>* val) const {
302 bool Statement::ColumnBlobAsVector(
308 const char* Statement::GetSQLStatement() {
312 bool Statement::CheckOk(int err) const {
314 // TODO(gbillock,shess): make this invalidate the statement so it
321 int Statement::CheckError(int err) {