How to set knex postgres statement_timeout

I have an issue with some query that take a long time, I want to set timeout for them, please help me

This topic has been created from a Discord post (1224272887058399285) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord