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: