Open History to see the last commit
Interface: TransactionConfig<T>#
Defined in: packages/db/src/types.ts:146
Type Parameters#
T#
T extends object = Record<string, unknown>
Properties#
autoCommit?#
optional autoCommit: boolean;
Defined in: packages/db/src/types.ts:150
id?#
optional id: string;
Defined in: packages/db/src/types.ts:148
Unique identifier for the transaction
metadata?#
optional metadata: Record<string, unknown>;
Defined in: packages/db/src/types.ts:153
Custom metadata to associate with the transaction
mutationFn#
mutationFn: MutationFn<T>;
Defined in: packages/db/src/types.ts:151