andWhere method

Avanda andWhere(
  1. dynamic conditions
)

Implementation

Avanda andWhere(dynamic conditions) {
  if (queryTree.n == null) {
    throw 'Specify service to apply where clause on';
  }

  if (conditions is Map) {
    queryTree.ft = {...queryTree.ft, ...conditions};
  } else if (conditions is String) {
    lastCol = conditions;
  }
  return this;
}