1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! `OData` integration for `SeaORM` with security-scoped pagination.
//!
//! This module provides `SeaORM`-specific adapters for `OData` queries:
//! - `OData` filter compilation to `SeaORM` conditions (legacy `FieldMap` and new `FilterNode`)
//! - Cursor-based pagination with `OData` ordering
//! - Security-scoped pagination via `OPager` builder
//!
//! # Filter DSL
//!
//! The core filter types (`FilterField`, `FilterNode`, `FilterOp`, `FieldKind`) are defined
//! in `modkit-odata` as part of the `OData` protocol contract. Import them from:
//! ```ignore
//! use modkit_odata::filter::{FilterField, FilterNode, FilterOp, FieldKind};
//! ```
//!
//! # Modules
//!
//! - `core`: Core `OData` to `SeaORM` translation (filters, cursors, ordering) - legacy `FieldMap` based
//! - `sea_orm_filter`: Type-safe mapping from `FilterNode<F>` to `SeaORM` conditions
//! - `pager`: Fluent builder for secure + `OData` pagination
// Core OData functionality (legacy FieldMap-based)
// SeaORM-specific filter mapping
// Fluent pagination builder
// Re-export all public items from core (legacy API)
pub use *;
// Re-export SeaORM filter mapping and pagination
pub use ;