2

In rom-sql I want to enable logging, so that I can see all the sql queries that are produced.

How can I achieve that?

Because it uses sequel underneath, I guest it may be somehow possible through sequel logger.

maicher
  • 2,625
  • 2
  • 16
  • 27

1 Answers1

4

Got it: ROM::SQL::Gateway#use_logger

maicher
  • 2,625
  • 2
  • 16
  • 27