How can I calculate the execution time of a query Seqilize ORM?
To print execution time of the query insert logging
and benchmark
options to it like that:
const game = await Game.findAll({
benchmark: true,
logging: console.log,
<...>
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With