mirror of
https://github.com/d3vyce/fastapi-toolsets.git
synced 2026-03-02 09:20:47 +01:00
feat: add search to crud paginate function (#17)
* feat: add search to crud paginate function * fixes: comments + tests import
This commit is contained in:
17
src/fastapi_toolsets/crud/__init__.py
Normal file
17
src/fastapi_toolsets/crud/__init__.py
Normal 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",
|
||||
]
|
||||
Reference in New Issue
Block a user