Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_quota
Function · 0.70
show_tenant_quota_in_database
Function · 0.70
show_tenant_usage_in_database
Function · 0.70
native_response_ok
Function · 0.50
check_error_ok
Function · 0.50
handle_rpc
Method · 0.50
roundtrip_execute_response_success
Function · 0.50
Calls
2
parse
Function · 0.70
expect
Method · 0.45
Tested by
6
alter_tenant_set_quota
Function · 0.56
show_tenant_quota_in_database
Function · 0.56
show_tenant_usage_in_database
Function · 0.56
native_response_ok
Function · 0.40
check_error_ok
Function · 0.40
roundtrip_execute_response_success
Function · 0.40