How do I access a variable inside to_tsquery
I need to execute a postgresql command in python where to_tsquery is the input taken from the user

Python-3.4.3 Getting-started-with-IPython 00-01 min 0-10 sec 24-06-19, 1:29 p.m. MonikaShah

Answers:

You can use the Psycopg module to connect to your PostGreSQL DB and then run any queries. Please check https://pynative.com/python-postgresql-tutorial/
26-05-20, 12:42 p.m. ankitrj.iitb


Click here to reply/comment online