psycopg2 E' on table, field and schema

前端 未结 2 1719
别跟我提以往
别跟我提以往 2021-01-15 19:54

I am having the same problem as: python adds "E" to string

All the answers given are relevant, but I am breaking my neck on this one.

The problem i

2条回答
  •  滥情空心
    2021-01-15 20:09

    It is, for better or worse, generally not supported by the Python interfaces and Psycopg in particular to substitute user-supplied identifiers into SQL commands. You will have to roll your own. It can be done with a few lines of code.

提交回复
热议问题