Skip to content

''withBlock" not fired. #5

@thedp

Description

@thedp

The db is opened successfully, but the performQuery's withBlock is not executed for some reason.
It seems the issue happens when a query related error occurs.

[[AFSQLManager sharedManager]openLocalDatabaseWithName:@"testdb.sqlite" andStatusBlock:^(BOOL success, NSError *error) {

        [[AFSQLManager sharedManager]performQuery:
         @"SELECT 1 FROM user LIMIT 1;" withBlock:^(NSArray *row, NSError *error, BOOL finished) {

             NSLog(@"TABLE CHECK");
         }];
    }];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions