BmobWhereBuilder class

Constructors

BmobWhereBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

and<T>(String key) KeyBuilder<T>
条件查询-复合查询中的与查询
andGeoPoint(String key, BmobGeoPoint center) GeoPointBuilder
条件查询-复合查询中的与查询
andTable<T extends BmobTable>(String key, T table) TableBuilder<T>
条件查询-复合查询中的与查询
average([List<String> fields = const []]) BmobWhereBuilder
聚合-平均值
builder() Map<String, dynamic>
clear() BmobWhereBuilder
清空所有条件
clearWhere() BmobWhereBuilder
清空where条件
groupBy({List<String> fields = const [], bool groupCount = false, bool include = false}) BmobWhereBuilder
分组和计数
having([Map<String, dynamic> having = const {}]) BmobWhereBuilder
聚合-分组中的过滤条件
include([List<String> fields = const []]) BmobWhereBuilder
同时查询制定field的Pointer对象
keys([List<String> keys = const []]) BmobWhereBuilder
查询指定列
max([List<String> fields = const []]) BmobWhereBuilder
聚合-最大值
min([List<String> fields = const []]) BmobWhereBuilder
聚合-最小值
noData() BmobWhereBuilder
不查询具体数据,只统计
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
or<T>(String key) KeyBuilder<T>
条件查询-复合查询中的或查询
order(List<String> _order) BmobWhereBuilder
排序字段
orGeoPoint(String key, BmobGeoPoint center) GeoPointBuilder
条件查询-复合查询中的或查询
orTable<T extends BmobTable>(String key, T table) TableBuilder<T>
条件查询-复合查询中的或查询
page([int pageIndex = 1, int pageSize = 100]) BmobWhereBuilder
分页查询 pageIndex - 页面 pageSize - 每页数量,默认100,最大的默认值是100,企业pro版套餐的最大值为1000,其它版套餐的最大值为500
removeWhere(String key) BmobWhereBuilder
一处where中的字段条件
sum([List<String> fields = const []]) BmobWhereBuilder
聚合-求和
toString() String
A string representation of this object.
inherited
whereBasic<T>(String key) KeyBuilder<T>
基础数据类型查询,包含DateTime
whereGeoPoint(String key, BmobGeoPoint center) GeoPointBuilder
位置信息字段查询
whereTable<T extends BmobTable>(String key, T table) TableBuilder<T>
对象查询

Operators

operator ==(Object other) bool
The equality operator.
inherited