Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double quotes in string #17

Closed
agronholm opened this issue Oct 2, 2014 · 2 comments
Closed

double quotes in string #17

agronholm opened this issue Oct 2, 2014 · 2 comments

Comments

@agronholm
Copy link
Owner

Originally reported by: Tobiiiiiiiiiii Tobiiiiiiiiiii (Bitbucket: TTTheKing, GitHub: TTTheKing)


when i defined my column in postgresql as serial i got this

ID = Column(Integer, primary_key=True, server_default=text("nextval('"Question_ID_seq"'::regclass)"))

in the text for server_default are errors because of the missing string escaping.


@agronholm
Copy link
Owner Author

Original comment by Alex Grönholm (Bitbucket: agronholm, GitHub: agronholm):


I wonder if repr() would work. Unicode issues?

@agronholm
Copy link
Owner Author

Duplicate of #7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant