I use the function pg_query_params (or pg_query).
For debugging purposes I would like to be able to get the lastly sent query (eventually having parameters replaced inside).
Is there a call for that ?
I use the function pg_query_params (or pg_query).
For debugging purposes I would like to be able to get the lastly sent query (eventually having parameters replaced inside).
Is there a call for that ?