contains constant
String
const contains
Whether an array field holds a value.
Not the same question as qIn, and the two are easy to swap by mistake.
IN asks whether a scalar field is one of several values -
{'status': {Operator.qIn: ['draft', 'live']}}. CONTAINS asks whether a
field that is an array holds the value given -
{'tags': {Operator.contains: 'urgent'}}.
Implementation
static const String contains = 'CONTAINS';