On Fri, 10 Mar 2017 19:45:53 -0600, Pablo Herrero
<[email protected]> wrote:
Hello everyone
I would like to know if there's profiling tool for sequel, (like an
extension or plugin), that notifies you whenever you hit the database,
in order to allow >detecting stuff like N+1 queries on requests or
integration tests?.
Cheers!
Pablo.
I'm not sure about profiling tools, but if you're just looking to see what
database queries are happening, you can output them, such as this line
which would output them to stdout:
DB.loggers << Logger.new($stdout)
-Joe
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.