MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / combined_system_and_valid

Function combined_system_and_valid

nodedb-sql/src/parser/preprocess/temporal.rs:461–469  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

459
460 #[test]
461 fn combined_system_and_valid() {
462 let ex = extract(
463 "SELECT * FROM t FOR SYSTEM_TIME AS OF 500 FOR VALID_TIME CONTAINS 250 LIMIT 5",
464 )
465 .unwrap()
466 .unwrap();
467 assert_eq!(ex.temporal.system_as_of_ms, Some(500));
468 assert_eq!(ex.temporal.valid_time, ValidTime::At(250));
469 }
470
471 #[test]
472 fn function_form() {

Callers

nothing calls this directly

Calls 1

extractFunction · 0.85

Tested by

no test coverage detected