Represents a transaction in the domain-driven design (DDD) framework.

A transaction ensures the atomicity, consistency, isolation, and durability (ACID) properties when performing operations on a data store. It provides a way to rollback changes made within the transaction if necessary.

Implements

Constructors

Accessors

Methods

Constructors

Accessors

  • get context(): PgTransaction<NodePgQueryResultHKT, Record<string, never>, ExtractTablesWithRelations<Record<string, never>>>
  • Returns PgTransaction<NodePgQueryResultHKT, Record<string, never>, ExtractTablesWithRelations<Record<string, never>>>

Methods