Answer the question
In order to leave comments, you need to log in
How to check the presence of a record in the database through peewee?
Hello, can you tell me how to check if there is a record in the database?
I want to get False or None, but it doesn't work.
Gives a huge error (
q = Pets.get(Pets.user_id==252)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question