You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Postgres reveals the default value in the information schema, column_default column. This should already be grabbed in the client query, so it could be used in the postgresql converter with column_props["COLUMN_DEFAULT"] to set the right value in the RecapType instantiation.
That convinces me.
I saw a related error when I was implementing the enums, and then went looking in the postgresql client (not realizing it was a subclass of dbapi) and the postgres converter, and saw no references to default.
That's what I get for not also making a failing test to prove the issue :D
Postgres supports setting default values for column values. Recap also supports default values.
Postgres reveals the default value in the information schema,
column_default
column. This should already be grabbed in the client query, so it could be used in the postgresql converter withcolumn_props["COLUMN_DEFAULT"]
to set the right value in theRecapType
instantiation.This came to my attention in #414 (comment)
The text was updated successfully, but these errors were encountered: