@squidcloud/backend
    Preparing search index...

    Interface InsertMutation<T>

    Represents an insert mutation on a document.

    interface InsertMutation<T = any> {
        properties: T;
        squidDocIdObj: SquidDocIdObj;
        type: "insert";
    }

    Type Parameters

    • T = any

    Hierarchy (View Summary)

    Index

    Properties

    properties: T

    The inserted document

    squidDocIdObj: SquidDocIdObj

    The identity of the mutated document.

    type: "insert"

    Specifies that the mutation is an insertion.