First page Back Continue Last page Overview Text


SQL Loggers are useful for seeing what SQL Sequel is sending the database.

You access the array of database loggers for your database via the loggers method, and just add loggers as you see fit.

Everytime a query is executed on the database, the exact SQL used is logged at info level to all of the database's loggers.

Here, we run the all method on the attendees dataset, and it logs the SQL used to the standard output.