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

Function reserved_graph

nodedb-sql/src/ddl_ast/parse/dispatch.rs:576–583  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

574
575 #[test]
576 fn reserved_graph() {
577 assert_reserved("CREATE TABLE graph (id INT)");
578 let stmt = ok(r#"CREATE TABLE "graph" (id INT)"#);
579 assert!(matches!(
580 stmt,
581 NodedbStatement::Collection(CollectionStmt::CreateTable { .. })
582 ));
583 }
584
585 #[test]
586 fn reserved_match() {

Callers

nothing calls this directly

Calls 2

assert_reservedFunction · 0.85
okFunction · 0.70

Tested by

no test coverage detected