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

Function as_of_system_time_integer

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

Source from the content-addressed store, hash-verified

490
491 #[test]
492 fn as_of_system_time_integer() {
493 let ex = extract("SELECT * FROM array_slice('g', '{}') AS OF SYSTEM TIME 1700000000000")
494 .unwrap()
495 .unwrap();
496 assert_eq!(ex.temporal.system_as_of_ms, Some(1_700_000_000_000));
497 assert!(!ex.sql.to_uppercase().contains("AS OF SYSTEM TIME"));
498 }
499
500 #[test]
501 fn as_of_valid_time_integer() {

Callers

nothing calls this directly

Calls 1

extractFunction · 0.85

Tested by

no test coverage detected