BmobObjectsBatch Class Reference

Inherits from NSObject
Declared in BmobObjectsBatch.h

– saveBmobObjectWithClassName:parameters:

创建某条数据,可多次调用

- (void)saveBmobObjectWithClassName:(NSString *)className parameters:(NSDictionary *)para

Parameters

className

表名

para

要创建的列名跟列的值

Declared In

BmobObjectsBatch.h

– updateBmobObjectWithClassName:objectId:parameters:

更新某条数据,可多次调用

- (void)updateBmobObjectWithClassName:(NSString *)className objectId:(NSString *)objectId parameters:(NSDictionary *)para

Parameters

className

表名

objectId

某行数据的objectId

para

要更新的列和列的值

Declared In

BmobObjectsBatch.h

– deleteBmobObjectWithClassName:objectId:

删除某条数据,可多次调用

- (void)deleteBmobObjectWithClassName:(NSString *)className objectId:(NSString *)objectId

Parameters

className

表名

objectId

某条数据的objectId

Declared In

BmobObjectsBatch.h

– batchObjectsInBackgroundWithResultBlock:

批量修改数据

- (void)batchObjectsInBackgroundWithResultBlock:(void ( ^ ) ( BOOL isSuccessful , NSError *error ))block

Parameters

block

返回操作的的结果和信息

Declared In

BmobObjectsBatch.h