The parameter object is TDataGatewayEventParameter of which the
{@link TDataGatewayEventParameter::getCommand Command} property can be
inspected to obtain the sql query to be executed.
Note well that the finder objects obtained from ActiveRecord::finder()
method are static objects. This means that the event handlers are
bound to a static finder object and not to each distinct active record object.