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

Function reserved_optional

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

Source from the content-addressed store, hash-verified

594
595 #[test]
596 fn reserved_optional() {
597 assert_reserved("CREATE TABLE optional (id INT)");
598 let stmt = ok(r#"CREATE TABLE "optional" (id INT)"#);
599 assert!(matches!(
600 stmt,
601 NodedbStatement::Collection(CollectionStmt::CreateTable { .. })
602 ));
603 }
604
605 #[test]
606 fn reserved_upsert() {

Callers

nothing calls this directly

Calls 2

assert_reservedFunction · 0.85
okFunction · 0.70

Tested by

no test coverage detected