Keeps the work done in this transaction.
Calls every listener registered for an event name.
The event to send.
The value listeners receive.
Removes one listener for an event name.
The event the listener was registered for.
The same function passed to on.
Registers a listener for one event name.
The event to listen for.
Called with that event's payload.
Drops the work done in this transaction.
A unit of work that can commit or roll back.
💡 Call
committo keep the work, orrollbackto drop it.Example
See
DbmsTransaction