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

Function reserved_match

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

Source from the content-addressed store, hash-verified

584
585 #[test]
586 fn reserved_match() {
587 assert_reserved("CREATE TABLE match (id INT)");
588 let stmt = ok(r#"CREATE TABLE "match" (id INT)"#);
589 assert!(matches!(
590 stmt,
591 NodedbStatement::Collection(CollectionStmt::CreateTable { .. })
592 ));
593 }
594
595 #[test]
596 fn reserved_optional() {

Callers

nothing calls this directly

Calls 2

assert_reservedFunction · 0.85
okFunction · 0.70

Tested by

no test coverage detected