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

Function age_descending_first

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

Source from the content-addressed store, hash-verified

346
347#[tokio::test]
348async fn age_descending_first() {
349 let mut database = DatabaseTestWrapper::new().await;
350 let api = insert(&mut database).await;
351 test_root_sorting_chunked(
352 &api,
353 [
354 (
355 age_property_path(),
356 Ordering::Descending,
357 NullOrdering::First,
358 ),
359 (
360 EntityQueryPath::Uuid,
361 Ordering::Ascending,
362 NullOrdering::Last,
363 ),
364 ],
365 [alice(), page_v1(), page_v2(), bob(), charles()],
366 )
367 .await;
368}
369
370#[tokio::test]
371async fn age_ascending_last_name_ascending_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