From 3a86f824a9a3419939e9d1838d424ee9e5e527bc Mon Sep 17 00:00:00 2001 From: Ethan Knox Date: Tue, 10 Oct 2023 20:14:48 -0400 Subject: [PATCH] Update README.md Fix what I think is a typo in the README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 65f2f97..d67b716 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ class User(Model): age: int def main(): - with Engine('db.sqlite') as engine: + with Engine('db.sqlite') as crud: user = crud.get_or_none(id=1) # user with id of 1 user2, was_created = crud.get_or_create(id=2, name='chris', age=35) users = crud.get_many(name='chris') # all users named chris