feat: add lateral_load() for efficient Many:One eager loading via JOIN LATERAL

This commit is contained in:
2026-04-07 13:07:34 -04:00
parent 0ed93d62c8
commit e1f96ad7fe
4 changed files with 616 additions and 27 deletions

View File

@@ -15,12 +15,13 @@ from ..types import (
OrderFieldType,
SearchFieldType,
)
from .factory import AsyncCrud, CrudFactory
from .factory import AsyncCrud, CrudFactory, lateral_load
from .search import SearchConfig, get_searchable_fields
__all__ = [
"AsyncCrud",
"CrudFactory",
"lateral_load",
"FacetFieldType",
"get_searchable_fields",
"InvalidFacetFilterError",