Home | History | Annotate | Download | only in sql

Lines Matching refs:Statement

19 // Possible return values from ColumnType in a statement. These should match
30 // sql::Statement s(connection_.GetUniqueStatement(...));
31 // if (!s) // You should check for errors before using the statement.
41 class Statement {
43 // Creates an uninitialized statement. The statement will be invalid until
45 Statement();
47 explicit Statement(scoped_refptr<Connection::StatementRef> ref);
48 ~Statement();
50 // Initializes this object with the given statement, which may or may not
54 // Returns true if the statement can be executed. All functions can still
55 // be used if the statement is invalid, but they will return failure or some
56 // default value. This is because the statement can become invalid in the
61 // These operators allow conveniently checking if the statement is valid
68 // Executes the statement, returning true on success. This is like Step but
69 // for when there is no output, like an INSERT statement.
72 // Executes the statement, returning true if there is a row of data returned.
87 // Resets the statement to its initial condition. This includes clearing all
91 // Returns true if the last executed thing in this statement succeeded. If
92 // there was no last executed thing or the statement is invalid, this will
144 // Returns the original text of sql statement. Do not keep a pointer to it.
154 // The actual sqlite statement. This may be unique to us, or it may be cached
162 DISALLOW_COPY_AND_ASSIGN(Statement);