Skip to main content

DB.UPDATE

POST 

To update one or multiple documents in a collection

Request

Body

    oneOf
    action stringrequired

    Default value: db.update

    The action name

    collection stringrequired

    The collection name

    data objectrequired

    The object to update

    _key stringnullablerequired

    The document key

Responses

Mutation response

Schema
    data object[]

    Array of documents mutated

Loading...