presto-python-client icon indicating copy to clipboard operation
presto-python-client copied to clipboard

Mogrification

Open keithpenrod opened this issue 3 years ago • 0 comments

Is there any kind of mogrification/string cleaning when formatting strings?

For example, I want to execute a query like INSERT INTO table VALUES (string_value) with psycopg2, I understand it does the mogrify method to clean the string up before executing the query (eg, to prevent sql injection). Is there a way to do that with prestodb?

keithpenrod avatar Sep 28 '21 00:09 keithpenrod