-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
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
Labels
No labels