add get_all_by_field method

This commit is contained in:
Vladless
2025-06-22 21:10:56 +03:00
parent 11c9a0b61e
commit eb0aa3ca37
7 changed files with 58 additions and 10 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ router = generate_crud_router(
schema_update=KeyUpdate,
identifier_field="tg_id",
extra_get_by_email=True,
enabled_methods=["get_all", "get_one", "get_by_email"]
enabled_methods=["get_all", "get_one", "get_by_email", "get_all_by_field"]
)