Home | History | Annotate | Download | only in sql

Lines Matching refs:Statement

5 #include "app/sql/statement.h"
18 // we don't have to NULL-check the ref_ to see if the statement is valid: we
20 Statement::Statement()
25 Statement::Statement(scoped_refptr<Connection::StatementRef> ref)
30 Statement::~Statement() {
31 // Free the resources associated with this statement. We assume there's only
32 // one statement active for a given sqlite3_stmt at any time, so this won't
37 void Statement::Assign(scoped_refptr<Connection::StatementRef> ref) {
42 bool Statement::Run() {
48 bool Statement::Step() {
54 void Statement::Reset() {
65 bool Statement::Succeeded() const {
71 bool Statement::BindNull(int col) {
79 bool Statement::BindBool(int col, bool val) {
83 bool Statement::BindInt(int col, int val) {
91 bool Statement::BindInt64(int col, int64 val) {
99 bool Statement::BindDouble(int col, double val) {
107 bool Statement::BindCString(int col, const char* val) {
116 bool Statement::BindString(int col, const std::string& val) {
125 bool Statement::BindString16(int col, const string16& value) {
129 bool Statement::BindBlob(int col, const void* val, int val_len) {
138 int Statement::ColumnCount() const {
146 ColType Statement::ColumnType(int col) const {
157 bool Statement::ColumnBool(int col) const {
161 int Statement::ColumnInt(int col) const {
169 int64 Statement::ColumnInt64(int col) const {
177 double Statement::ColumnDouble(int col) const {
185 std::string Statement::ColumnString(int col) const {
200 string16 Statement::ColumnString16(int col) const {
209 int Statement::ColumnByteLength(int col) const {
217 const void* Statement::ColumnBlob(int col) const {
226 bool Statement::ColumnBlobAsString(int col, std::string* blob) {
241 void Statement::ColumnBlobAsVector(int col, std::vector<char>* val) const {
256 void Statement::ColumnBlobAsVector(
262 const char* Statement::GetSQLStatement() {
266 int Statement::CheckError(int err) {