order method

QueryBuilder<T> order (
  1. QueryProperty p,
  2. {int flags: 0}
)

Implementation

QueryBuilder<T> order(QueryProperty p, {int flags = 0}) {
  if (p._entityId != _entityId) {
    throw Exception(
        'Passed a property of another entity: ${p._entityId} instead of $_entityId');
  }
  _createBuilder();
  checkObx(bindings.obx_qb_order(_cBuilder, p._propertyId, flags));
  return this;
}