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
Model.create() does not seem to work with sqlalchemy.func object.
What I Did
Currently I make use of crypt() and gen_salt() from pgcrypto extension to generate password hash.
What I want to do is to create a user record as follow:
Description
Model.create()
does not seem to work withsqlalchemy.func
object.What I Did
Currently I make use of
crypt()
andgen_salt()
from pgcrypto extension to generate password hash.What I want to do is to create a user record as follow:
Is my understanding of
Model.create
usage wrong or it's a bug, or a feature doesn't support yet?The text was updated successfully, but these errors were encountered: