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

Function reserved_search

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

Source from the content-addressed store, hash-verified

644
645 #[test]
646 fn reserved_search() {
647 assert_reserved("CREATE TABLE search (id INT)");
648 let stmt = ok(r#"CREATE TABLE "search" (id INT)"#);
649 assert!(matches!(
650 stmt,
651 NodedbStatement::Collection(CollectionStmt::CreateTable { .. })
652 ));
653 }
654
655 #[test]
656 fn reserved_crdt() {

Callers

nothing calls this directly

Calls 2

assert_reservedFunction · 0.85
okFunction · 0.70

Tested by

no test coverage detected