dyna-record
    Preparing search index...

    Type Alias InConditionFor<V>

    InConditionFor: ReadonlyArray<AllowNullInWholeValue<V>>

    The IN condition: a list of values the attribute is compared against, each a whole value of it.

    Each element is written as an equality value is, so an object element takes null on a nullable field at any depth (see EqualityConditionFor). On an array-typed field each element is a whole list, which is the form the equality condition cannot take there; its elements take null on their nullable fields the same way, and the expression builder converts each list as the write stores it.

    Type Parameters

    • V

      The attribute's declared type.

    // Either of two addresses, the second without a zip
    filter: {
    shippingAddress: [
    { street: "1 Main St", city: "Denver", zip: "80202" },
    { street: "9 Elm St", city: "Boise", zip: null }
    ]
    }

    // An order whose line items are exactly these, the second without a note
    filter: {
    "details.lineItems": [
    [
    { sku: "MUG-1", quantity: 2, note: "gift" },
    { sku: "KET-1", quantity: 1, note: null }
    ]
    ]
    }