Interface SingleMutationResult

Result of a single mutation operation. Contains the transaction ID and affected document.

interface SingleMutationResult {
    documentId: string;
    results: { id: string; operation: MutationOperation }[];
    transactionId: string;
}

Properties

documentId: string

ID of the affected document

results: { id: string; operation: MutationOperation }[]

Details about what happened to each document

transactionId: string

ID of the transaction that performed the mutation