Skip to content

Removing Tables

cmancushman edited this page Oct 26, 2017 · 3 revisions

Remove a Table

Declaration

+(void)removeStackBaseTableWithName:(NSString *)name fromMySQLServerWithCompletionBlock:(StackBaseEditCompletion) compBlock;

Example

[StackBaseClient removeStackBaseTableWithName:@"TestTable" completionBlock:^(BOOL success, NSString *responseMessage) {

    if(success){
        
        NSLog(@"Deletion Successful.");
        
    }else{
        
        NSLog(@"Deletion Unsuccessful: %@", responseMessage);
        
    }
    
}];

Clone this wiki locally