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
I can save data to the database but I can't fetch anything from database! I think the problem is on type part, when I check the query statement I can see this:
print(User.query)
SELECT fp_user.id AS fp_user_id, fp_user.type AS fp_user_type, fp_user.email AS fp_user_email, fp_user.password AS fp_user_password, fp_user.registered_on AS fp_user_registered_on, fp_user.admin AS fp_user_admin
FROM fp_user
WHERE fp_user.type IN (NULL)
and because of this where part nothing coming out from this query!
The text was updated successfully, but these errors were encountered:
Hi
I use UserMixin to create my User class:
I can save data to the database but I can't fetch anything from database! I think the problem is on type part, when I check the query statement I can see this:
and because of this where part nothing coming out from this query!
The text was updated successfully, but these errors were encountered: