Type alias GraphCollectionInsertOptions

GraphCollectionInsertOptions: {
    returnNew?: boolean;
    waitForSync?: boolean;
}

Options for inserting a document into a graph collection.

Type declaration

  • Optional returnNew?: boolean

    If set to true, the complete new document will be returned as the new property on the result object.

    Default: false

  • Optional waitForSync?: boolean

    If set to true, data will be synchronized to disk before returning.

    Default: false