inList function

InCondition inList(
  1. Iterable? value
)

Used in the whereValues of DBAccess.loadBy, DBAccess.queryBy, and sqlWhereBy to indicate an IN clause. That is, it shall be generated with field in (value1, value2)

Example,

await access.queryBy(..., {"users": inList(['john', 'mary'])});

See also not and notIn.

Implementation

InCondition inList(Iterable? value) => InCondition(value);