bulkRemove method
Removes multiple objects according to the described whereClause. The API returns the number of objects deleted as a result of the request.
Implementation
@override
Future<int?> bulkRemove(String whereClause) async {
String methodName = '/data/bulk/$tableName';
if (whereClause.isEmpty) {
throw ArgumentError.value(ExceptionMessage.nullWhere);
}
methodName += '?where=$whereClause';
return await Invoker.delete(methodName);
}