hugsql

ajitj 2024-05-23T13:18:05.673359Z

Hello people. Any suggestion on logging the executed sql with the time taken? What is a good place to look into to get and log this info? Anything already exists for this? Thanks

igrishaev 2024-05-23T13:54:37.782439Z

The simplest way is to delegate it to the database. Just setup up it such that it logs all the sql expressions and timings

igrishaev 2024-05-23T13:55:00.342939Z

Than tail -f the log file