Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added async methods for FMDatabaseQueue #372

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added async methods for FMDatabaseQueue #372

wants to merge 1 commit into from

Commits on May 5, 2015

  1. Added async methods for FMDatabaseQueue

    These new methods add the option to return immediately and perform the operations on the queue.
    
    `- (void)inDatabase:(void (^)(FMDatabase *db))block async:(BOOL)async`
    `- (void)inTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block async:(BOOL)async`
    `- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block async:(BOOL)async`
    `- (void)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block async:(BOOL)async completion:(void(^)(NSError *error))completion`
    davbeck committed May 5, 2015
    Configuration menu
    Copy the full SHA
    3165359 View commit details
    Browse the repository at this point in the history