#import <PLDatabaseMigrationTransactionManager.h>

Public Member Functions | |
| (BOOL) | - beginExclusiveTransactionForDatabase:error: |
| Start a database transaction, using a sufficient isolation level and/or locking to ensure that no other migrations will run until this has completed. | |
| (BOOL) | - rollbackTransactionForDatabase:error: |
| Roll back the database transaction, returning YES on success, or NO on failure. | |
| (BOOL) | - commitTransactionForDatabase:error: |
| Commit the database transaction, returning YES on success, or NO on failure. | |
| - (BOOL) beginExclusiveTransactionForDatabase: | (id< PLDatabase >) | database | ||
| error: | (NSError **) | outError | ||
Start a database transaction, using a sufficient isolation level and/or locking to ensure that no other migrations will run until this has completed.
| database | An active database connection on which to execute any queries. | |
| outError | A pointer to an NSError object variable. If an error occurs, this pointer will contain an error object indicating why the transaction could not be started. If no error occurs, this parameter will be left unmodified. You may specify NULL for this parameter, and no error information will be provided. |
| - (BOOL) commitTransactionForDatabase: | (id< PLDatabase >) | database | ||
| error: | (NSError **) | outError | ||
Commit the database transaction, returning YES on success, or NO on failure.
| database | An active database connection on which to issue any queries. | |
| outError | A pointer to an NSError object variable. If an error occurs, this pointer will contain an error object indicating why the transaction could not be committed. |
| - (BOOL) rollbackTransactionForDatabase: | (id< PLDatabase >) | database | ||
| error: | (NSError **) | outError | ||
Roll back the database transaction, returning YES on success, or NO on failure.
| database | An active database connection on which to issue any queries. | |
| outError | A pointer to an NSError object variable. If an error occurs, this pointer will contain an error object indicating why the transaction could not be rolled back. |
1.5.9