Skip to content

strings and sa.text() have a different behavior in server_default #1433

Discussion options

You must be logged in to vote

no bug, if you send a string for a server_default, that's a literal default, just like if you sent an integer or a float. docs are here https://docs.sqlalchemy.org/en/20/core/metadata.html#sqlalchemy.schema.Column.params.server_default

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by bfontaine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants