I'm trying to remove some database records, and I have a wrapper class around my FMDB class. What I'm wondering, is if I can call this class method from the inDatabase
block?
[_dbQueue inDatabase:^(FMDatabase *db) {
// Do some magic here to get 1234
[myObject deleteWithId:1234]; // This calls executeUpdate:@"DELETE..."
}];