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

Function age_descending_last

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

Source from the content-addressed store, hash-verified

323
324#[tokio::test]
325async fn age_descending_last() {
326 let mut database = DatabaseTestWrapper::new().await;
327 let api = insert(&mut database).await;
328 test_root_sorting_chunked(
329 &api,
330 [
331 (
332 age_property_path(),
333 Ordering::Descending,
334 NullOrdering::Last,
335 ),
336 (
337 EntityQueryPath::Uuid,
338 Ordering::Ascending,
339 NullOrdering::Last,
340 ),
341 ],
342 [bob(), charles(), alice(), page_v1(), page_v2()],
343 )
344 .await;
345}
346
347#[tokio::test]
348async fn age_descending_first() {

Callers

nothing calls this directly

Calls 8

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

Tested by

no test coverage detected