Connection used in the event.
可选errorThe error thrown if the query was unsuccessful.
可选executionThe duration of the query execution, in milliseconds.
EntityManager used in the event transaction. All database operations in the subscribed event listener should be performed using this entity manager instance.
可选parametersParameters used in the query.
Query that is being executed.
QueryRunner used in the event transaction. All database operations in the subscribed event listener should be performed using this query runner instance.
可选rawThe raw results from the database if the query was successful.
Whether the query was successful.
BeforeQueryEvent is an object that broadcaster sends to the entity subscriber before query is ran against the database.