Sanity Library Reference Docs
    Preparing search index...

    Function transaction

    • Wraps a set of mutations in a transaction. Note: use with caution. Transactions cannot be optimized and will be submitted one-by-one, which means they will make your migration run slower and produce more API requests.

      Parameters

      Returns Transaction

    • Wraps a set of mutations in a transaction. Note: use with caution. Transactions cannot be optimized and will be submitted one-by-one, which means they will make your migration run slower and produce more API requests.

      Parameters

      Returns Transaction