datasource-proxy icon indicating copy to clipboard operation
datasource-proxy copied to clipboard

Change parameters values

Open pjosalgado opened this issue 5 years ago • 0 comments

Hi guys!

I'm currently studying to develop a mechanism that, given a query, it'll be able to change the query (prepared statement) and some parameters values before it hits the database.

Looking in "datasource-proxy" (awesome project, by the way) I was able to understand how the QueryTransformer works and how I'll be able to change the query, however, I quite didn't understand how the ParameterTransformer works.

Do you guys have any examples and/or guides on how, given a list of parameters, it's possible to get a current parameter value (by parameter name) and change it, before the query executes?

Thanks in advance.

Best regards, Paulo

pjosalgado avatar May 12 '20 03:05 pjosalgado