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()
22 Statement::Statement(scoped_refptr<Connection::StatementRef> ref)
27 Statement::~Statement() {
28 // Free the resources associated with this statement. We assume there's only
29 // one statement active for a given sqlite3_stmt at any time, so this won't
34 void Statement::Assign(scoped_refptr<Connection::StatementRef> ref) {
39 void Statement::Clear() {
44 bool Statement::CheckValid() const {
45 // Allow operations to fail silently if a statement was invalidated
48 << "Cannot call mutating statements on an invalid statement.";
52 bool Statement::Run() {
60 bool Statement::Step() {
68 void Statement::Reset(bool clear_bound_vars) {
82 bool Statement::Succeeded() const {
89 bool Statement::BindNull(int col) {
96 bool Statement::BindBool(int col, bool val) {
100 bool Statement::BindInt(int col, int val) {
107 bool Statement::BindInt64(int col, int64 val) {
114 bool Statement::BindDouble(int col, double val) {
121 bool Statement::BindCString(int col, const char* val) {
129 bool Statement::BindString(int col, const std::string& val) {
140 bool Statement::BindString16(int col, const string16& value) {
144 bool Statement::BindBlob(int col, const void* val, int val_len) {
152 int Statement::ColumnCount() const {
159 ColType Statement::ColumnType(int col) const {
170 ColType Statement::DeclaredColumnType(int col) const {
186 bool Statement::ColumnBool(int col) const {
190 int Statement::ColumnInt(int col) const {
197 int64 Statement::ColumnInt64(int col) const {
204 double Statement::ColumnDouble(int col) const {
211 std::string Statement::ColumnString(int col) const {
225 string16 Statement::ColumnString16(int col) const {
233 int Statement::ColumnByteLength(int col) const {
240 const void* Statement::ColumnBlob(int col) const {
247 bool Statement::ColumnBlobAsString(int col, std::string* blob) {
261 bool Statement::ColumnBlobAsString16(int col, string16* val) const {
274 bool Statement::ColumnBlobAsVector(int col, std::vector<char>* val) const {
289 bool Statement::ColumnBlobAsVector(
295 const char* Statement::GetSQLStatement() {
299 bool Statement::CheckOk(int err) const {
301 // TODO(gbillock,shess): make this invalidate the statement so it
308 int Statement::CheckError(int err) {