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

Function ok

nodedb-sql/src/ddl_ast/parse/tenant.rs:179–183  ·  view source on GitHub ↗
(sql: &str)

Source from the content-addressed store, hash-verified

177 }
178
179 fn ok(sql: &str) -> NodedbStatement {
180 parse(sql)
181 .expect("expected Some, got None")
182 .expect("expected Ok, got Err")
183 }
184
185 #[test]
186 fn alter_tenant_set_quota() {

Callers 7

alter_tenant_set_quotaFunction · 0.70
native_response_okFunction · 0.50
check_error_okFunction · 0.50
handle_rpcMethod · 0.50

Calls 2

parseFunction · 0.70
expectMethod · 0.45

Tested by 6

alter_tenant_set_quotaFunction · 0.56
native_response_okFunction · 0.40
check_error_okFunction · 0.40