'Does read_sql allow prepared statements?
Does the following line
df = pandas.read_sql('SELECT "Value1", "Value2", "Value3" FROM "MyTable" WHERE "Property" IN (%s, %s)',
db,
params=["String1", "String2"])
execute a prepared statement? Are the parameters always read in as strings? Can this be used instead of cursor.excecute?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
