'Creates an event for a SQL query.
>>> client.captureQuery(\'SELECT * FROM foo\')'

def captureQuery(self, query, params=(), engine=None, **kwargs):

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