abort can be called in a before*() handler to signal that the operation has been cancelled and should proceed no further.
Logic calling this method should ensure that an appropriate response is sent to the user.
before is a filter that is executed before each of the CSUGR methods.
It can be overriden to execute other middleware.
beforeCreate is executed before create().
beforeGet is executed before get().
beforeRemove is executed before remove().
beforeSearch is executed before search().
beforeUpdate is executed before update().
Generated using TypeDoc
BaseResource provides the default Resource implementation.
Warning: All data passed to this class MUST BE PROPERLY VALIDATED!! Otherwise users may be able to manipulate queries and have direct access to the database.