Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MySQLTransactionalDataContext

A specialized MySQLDataContext implementation for transactions.

Hierarchy

Index

Constructors

constructor

Properties

Protected colStore

colStore: ColumnStore

Protected connMan

Manages the connection pool.

Protected escaper

escaper: MySQLEscaper

Used for escaping queries.

Protected executer

executer: MySQLExecuter

Used for executing queries.

Protected propStore

propStore: PropertyMapStore

Protected relStore

Protected tblStore

tblStore: TableStore

Methods

beginTransaction

  • beginTransaction<R>(transFunc: function): Promise<R>

connect

  • connect(): Promise<this>

delete

end

  • end(): Promise<void>

from

getEscaper

getExecuter

insert

rollbackTransaction

  • rollbackTransaction(): Promise<void>

update

Generated using TypeDoc