feat: add search to crud paginate function (#17)

* feat: add search to crud paginate function

* fixes: comments + tests import
This commit is contained in:
d3vyce
2026-01-29 00:08:02 +01:00
committed by GitHub
parent 577e087321
commit d14551781c
7 changed files with 644 additions and 30 deletions

View File

@@ -0,0 +1,17 @@
"""Generic async CRUD operations for SQLAlchemy models."""
from ..exceptions import NoSearchableFieldsError
from .factory import CrudFactory
from .search import (
SearchConfig,
SearchFieldType,
get_searchable_fields,
)
__all__ = [
"CrudFactory",
"get_searchable_fields",
"NoSearchableFieldsError",
"SearchConfig",
"SearchFieldType",
]