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

Function parse_not

nodedb/src/control/security/predicate.rs:413–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

411
412 #[test]
413 fn parse_not() {
414 let pred = parse_predicate("NOT status = 'archived'").unwrap();
415 assert!(matches!(pred, RlsPredicate::Not(_)));
416 }
417
418 #[test]
419 fn validate_auth_refs_passes() {

Callers

nothing calls this directly

Calls 1

parse_predicateFunction · 0.85

Tested by

no test coverage detected