Skip to content

Commit f6d2ec4

Browse files
committed
minor update
1 parent a1d2a6c commit f6d2ec4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • packages/orm/src/client/crud/operations

packages/orm/src/client/crud/operations/create.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ export class CreateOperationHandler<Schema extends SchemaDef> extends BaseOperat
2929
// analyze if the create involves nested creates
3030
const needsNestedCreate = this.needsNestedCreate(args.data);
3131

32-
// TODO: avoid using transaction for simple create
3332
const result = await this.safeTransactionIf(needReadBack || needsNestedCreate, async (tx) => {
3433
const createResult = await this.create(tx, this.model, args.data, undefined, false, selectedFields);
3534

0 commit comments

Comments
 (0)