执行以下行
df = pandas.read_sql('SELECT "Value1", "Value2", "Value3" FROM "MyTable" WHERE "Property" IN (%s, %s)',
db,
params=["String1", "String2"])
执行准备好的语句?参数是否总是以字符串形式读入?可以用这个代替cursor.excecute
吗?
执行以下行
df = pandas.read_sql('SELECT "Value1", "Value2", "Value3" FROM "MyTable" WHERE "Property" IN (%s, %s)',
db,
params=["String1", "String2"])
执行准备好的语句?参数是否总是以字符串形式读入?可以用这个代替cursor.excecute
吗?