Methods
-
start( data )
-
Description
Called at route startParameters
Name Type Description dataobject Name Type Description reqobject Request - See expressjs definition resobject Response - See expressjs definition transactionobject Database transaction. Use this transaction in your hooks. Commit and rollback are handled through res.success() / res.error() Details
-
beforeSend( data )
-
Description
Called before route endParameters
Name Type Description dataobject Name Type Description reqobject Request - See expressjs definition resobject Response - See expressjs definition transactionobject Database transaction. Use this transaction in your hooks. Commit and rollback are handled through res.success() / res.error() Details