@elleevans Верно. Если целевой сайт использует собственную базу гео для ip, то имеет смысл использовать отдельные страницы этого сайта или API на этом ресурсе для определения гео ip.
That helped a lot. I thought because I'm parsing value to parameters I don't need global variables. But, is it possible to call another async function inside an async function?
Yes the module works great, no matter if you connect to a local DB or a remote one.
Just "Setup connection" first. And if some standard functions of the module produce strange behaviour simply use "Execute query" and enter the raw query.