<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def captureQuery(self, query, params=(), engine=None, **kwargs):
 """ Creates an event for a SQL query. """

        return self.capture(
            'raven.events.Query', query=query, params=params, engine=engine,
            **kwargs)