Current page URL for query

Hello, how can I found the current URL value of a page?

I have to do a query like that:
SELECT * from table where field1 = :P1 /* {{$_SERVER.URL}} */


Do you mean a URL param for example

Where MYPARAM would be a variable that changes then check out this tutorial:

You can use the browser component on the page and get the full page url by selecting:

Screenshot 2022-12-21 at 15.00.10

It will return a value like: