This commit is contained in:
Waylon Walker 2023-06-06 11:50:49 -05:00
parent 839cbd0dc0
commit a9ee4a2bd8
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
7 changed files with 199 additions and 31 deletions

View file

@ -43,7 +43,6 @@ class FastModel(SQLModel):
with config.database.session as session:
if id is None:
print("get all")
statement = select(self.__class__)
if where is not None:
statement = statement.where(where).options()