bql static method

Future<List<Map<String, dynamic>>> bql({
  1. required String bql,
  2. List? values,
})

查询列表

Implementation

static Future<List<Map<String, dynamic>>> bql(
    {required String bql, List? values}) async {
  var data = await BmobNetHelper.init().get(
    '/1/cloudQuery',
    body: {
      'bql': bql,
      if (values != null) ...{'values': values}
    },
  );
  return data?['results'] ?? [];
}