Home | History | Annotate | Download | only in sql

Lines Matching refs:Transaction

15 class Transaction {
17 // Creates the scoped transaction object. You MUST call Begin() to begin the
18 // transaction. If you have begun a transaction and not committed it, the
19 // constructor will roll back the transaction. If you want to commit, you
21 explicit Transaction(Connection* connection);
22 ~Transaction();
24 // Returns true when there is a transaction that has been successfully begun.
27 // Begins the transaction. This uses the default sqlite "deferred" transaction
29 // database is accessed, not in the begin transaction command.
35 // Rolls back the transaction. This will happen automatically if you do
36 // nothing when the transaction goes out of scope.
39 // Commits the transaction, returning true on success. This will return
40 // false if sqlite could not commit it, or if another transaction in the
41 // same outermost transaction has been rolled back (which necessitates a
48 // True when the transaction is open, false when it's already been committed
52 DISALLOW_COPY_AND_ASSIGN(Transaction);