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(...));
35 // If there are errors getting the statement, the statement will be inert; no
44 class SQL_EXPORT Statement {
46 // Creates an uninitialized statement. The statement will be invalid until
48 Statement();
50 explicit Statement(scoped_refptr<Connection::StatementRef> ref);
51 ~Statement();
53 // Initializes this object with the given statement, which may or may not
57 // Resets the statement to an uninitialized state corrosponding to
61 // Returns true if the statement can be executed. All functions can still
62 // be used if the statement is invalid, but they will return failure or some
63 // default value. This is because the statement can become invalid in the
70 // Executes the statement, returning true on success. This is like Step but
71 // for when there is no output, like an INSERT statement.
74 // Executes the statement, returning true if there is a row of data returned.
89 // Resets the statement to its initial condition. This includes any current
93 // Returns true if the last executed thing in this statement succeeded. If
94 // there was no last executed thing or the statement is invalid, this will
148 // Returns the original text of sql statement. Do not keep a pointer to it.
162 // Should be called by all mutating methods to check that the statement is
163 // valid. Returns true if the statement is valid. DCHECKS and returns false
165 // The reason for this is to handle two specific cases in which a Statement
176 // The actual sqlite statement. This may be unique to us, or it may be cached
184 DISALLOW_COPY_AND_ASSIGN(Statement);