psycopg2 E' on table, field and schema

前端 未结 2 1706
别跟我提以往
别跟我提以往 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:02

    Ok, thanks Peter, at least I know not to look any further. I decided to take a different approach:

    Use a script file to generate the database instead of generating it from code. This will make it more easy to have "versioning" on the database.

    Meanwhile, I am taking a look at sqlalchemy http://www.sqlalchemy.org/ which pretty much does what I want but is currently a step to far as it requires a drastic restructure of the application I am rebuilding

提交回复
热议问题