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

Function reserved_upsert

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

Source from the content-addressed store, hash-verified

604
605 #[test]
606 fn reserved_upsert() {
607 assert_reserved("CREATE COLLECTION upsert (id INT)");
608 let stmt = ok(r#"CREATE COLLECTION "upsert" (id INT)"#);
609 assert!(matches!(
610 stmt,
611 NodedbStatement::Collection(CollectionStmt::CreateCollection { .. })
612 ));
613 }
614
615 #[test]
616 fn reserved_undrop() {

Callers

nothing calls this directly

Calls 2

assert_reservedFunction · 0.85
okFunction · 0.70

Tested by

no test coverage detected