From 0ec0da807c1dee1c5016347da52f64ee7b2df110 Mon Sep 17 00:00:00 2001 From: Edkar Chachati Date: Sun, 24 Dec 2023 14:44:01 -0400 Subject: [PATCH] update readme --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0ed13fb..bae3697 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ def delete_your_model(pk: int): The CRUDManager class provides the following methods: - `get(pk: int) -> ModelType`: Retrieve an object based on its primary key. +- `get_by_ids(ids:list[int]) -> list[ModelType]`: Get a list of records matching the keys sent - `list(query: QueryLike = None) -> list[ModelType]`: Get a list of records matching the query. - `create(object: ModelCreateType) -> ModelType`: Create a new object in the database. - `update(input_object: ModelType) -> ModelType`: Update an object in the database.