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

Function reserved_cascade

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

Source from the content-addressed store, hash-verified

634
635 #[test]
636 fn reserved_cascade() {
637 assert_reserved("CREATE TABLE cascade (id INT)");
638 let stmt = ok(r#"CREATE TABLE "cascade" (id INT)"#);
639 assert!(matches!(
640 stmt,
641 NodedbStatement::Collection(CollectionStmt::CreateTable { .. })
642 ));
643 }
644
645 #[test]
646 fn reserved_search() {

Callers

nothing calls this directly

Calls 2

assert_reservedFunction · 0.85
okFunction · 0.70

Tested by

no test coverage detected