Type alias InsertObject<T>

InsertObject<T>: {
    id?: string;
    properties?: NonReferenceInputs<T>;
    references?: ReferenceInputs<T>;
    vectors?: number[] | Vectors;
}

The available options to the data.insert method.

Type Parameters

  • T

Type declaration

  • Optional id?: string

    The ID of the object to be inserted. If not provided, a new ID will be generated.

  • Optional properties?: NonReferenceInputs<T>

    The properties of the object to be inserted

  • Optional references?: ReferenceInputs<T>

    The references of the object to be inserted

  • Optional vectors?: number[] | Vectors

    The vector(s) of the object to be inserted