MCPcopy Create free account
hub / github.com/hashintel/hash / age_ascending_first

Function age_ascending_first

tests/graph/integration/postgres/sorting.rs:301–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

299
300#[tokio::test]
301async fn age_ascending_first() {
302 let mut database = DatabaseTestWrapper::new().await;
303 let api = insert(&mut database).await;
304
305 test_root_sorting_chunked(
306 &api,
307 [
308 (
309 age_property_path(),
310 Ordering::Ascending,
311 NullOrdering::First,
312 ),
313 (
314 EntityQueryPath::Uuid,
315 Ordering::Ascending,
316 NullOrdering::Last,
317 ),
318 ],
319 [alice(), page_v1(), page_v2(), bob(), charles()],
320 )
321 .await;
322}
323
324#[tokio::test]
325async fn age_descending_last() {

Callers

nothing calls this directly

Calls 8

age_property_pathFunction · 0.85
page_v1Function · 0.85
page_v2Function · 0.85
insertFunction · 0.70
aliceFunction · 0.70
bobFunction · 0.70
charlesFunction · 0.70

Tested by

no test coverage detected