@squidcloud/backend
    Preparing search index...

    Interface UpdateMutation<T>

    Represents an update mutation on a document.

    interface UpdateMutation<T = any> {
        properties: { [key in string]?: PropertyMutation<T[key]>[] };
        squidDocIdObj: SquidDocIdObj;
        type: "update";
    }

    Type Parameters

    • T = any

    Hierarchy (View Summary)

    Index

    Properties

    properties: { [key in string]?: PropertyMutation<T[key]>[] }

    The updated properties

    squidDocIdObj: SquidDocIdObj

    The identity of the mutated document.

    type: "update"

    Specifies that the mutation is an update.