Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Predicate

import type { Predicate } from "https://aws-api.deno.dev/v0.3/services/amplifyuibuilder.ts?docs=full";

Stores information for generating Amplify DataStore queries. Use a Predicate to retrieve a subset of the data in a collection.

interface Predicate {
and?: Predicate[] | null;
field?: string | null;
operand?: string | null;
operator?: string | null;
or?: Predicate[] | null;
}

§Properties

§
and?: Predicate[] | null
[src]

A list of predicates to combine logically.

§
field?: string | null
[src]

The field to query.

§
operand?: string | null
[src]

The value to use when performing the evaluation.

§
operator?: string | null
[src]

The operator to use to perform the evaluation.

§
or?: Predicate[] | null
[src]

A list of predicates to combine logically.