containsJson method

PostgrestFilter<Row> containsJson(
  1. Object? value
)

Only rows whose jsonb value contains value.

value is the decoded JSON to look for, for example {'a': 1}, [1] or null, and is encoded before it is sent.

Implementation

PostgrestFilter<Row> containsJson(Object? value) =>
    PostgrestFilter._comparison(
      this,
      PostgrestFilterOperator.contains,
      value,
      encodesJson: true,
    );