I need to get the sql query generated by a findAll
call, preferably synchronously (w/o promise). It's not for logging purpose and i don't want it for all queries, just for one specific query so setting a logger like this answer won't help.
How can this be done?