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

Function age_ascending_last

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

Source from the content-addressed store, hash-verified

279
280#[tokio::test]
281async fn age_ascending_last() {
282 let mut database = DatabaseTestWrapper::new().await;
283 let api = insert(&mut database).await;
284
285 test_root_sorting_chunked(
286 &api,
287 [
288 (age_property_path(), Ordering::Ascending, NullOrdering::Last),
289 (
290 EntityQueryPath::Uuid,
291 Ordering::Ascending,
292 NullOrdering::Last,
293 ),
294 ],
295 [bob(), charles(), alice(), page_v1(), page_v2()],
296 )
297 .await;
298}
299
300#[tokio::test]
301async fn age_ascending_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