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

Function parse_limit

nodedb/src/engine/graph/pattern/compiler/mod.rs:335–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333
334 #[test]
335 fn parse_limit() {
336 let q = parse("MATCH (a)-[:KNOWS]->(b) RETURN a LIMIT 10").unwrap();
337 assert_eq!(q.limit, Some(10));
338 }
339
340 #[test]
341 fn parse_anonymous_nodes_and_edges() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected