equal static method

String equal(
  1. String attribute,
  2. dynamic value
)

Filter resources where attribute is equal to value.

value can be a single value or a list. If a list is used the query will return resources where attribute is equal to any of the values in the list.

Implementation

static String equal(String attribute, dynamic value) =>
    Query._('equal', attribute, value).toString();