DbEvent

DbEvent

new DbEvent(props)

Create new even object

Source:
Parameters:
Name Type Description
props Object

The property values (type, subtype, target, error, data)

Members

data

Properties:
Name Type Description
Any Object

additional data that was emitted

Source:

error

Properties:
Name Type Description
The Error

SQL error object

Source:

subtype

Properties:
Name Type Description
If String

an error, the event name that would have been emitted if there were no error

Source:

target

Properties:
Name Type Description
The Db

database itself

Source:

type

Properties:
Name Type Description
The String

event name

Source: