(
api: &DatabaseApi<'_>,
sort: [(EntityQueryPath<'static>, Ordering, NullOrdering); N],
expected_order: [PropertyObject; M],
)
| 30 | use crate::{DatabaseApi, DatabaseTestWrapper}; |
| 31 | |
| 32 | async fn test_root_sorting_chunked<const N: usize, const M: usize>( |
| 33 | api: &DatabaseApi<'_>, |
| 34 | sort: [(EntityQueryPath<'static>, Ordering, NullOrdering); N], |
| 35 | expected_order: [PropertyObject; M], |
| 36 | ) { |
| 37 | for chunk_size in 0..expected_order.len() { |
| 38 | test_root_sorting(api, chunk_size + 1, sort.clone(), &expected_order).await; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | async fn test_root_sorting( |
| 43 | api: &DatabaseApi<'_>, |
no test coverage detected