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

Function ok

nodedb-sql/src/ddl_ast/parse/synonym_group.rs:169–171  ·  view source on GitHub ↗
(sql: &str)

Source from the content-addressed store, hash-verified

167 use crate::ddl_ast::parse::dispatch::parse;
168
169 fn ok(sql: &str) -> NodedbStatement {
170 parse(sql).expect("expected Some").expect("expected Ok")
171 }
172
173 fn err(sql: &str) -> SqlError {
174 parse(sql)

Callers 6

create_basicFunction · 0.70
create_name_lowercasedFunction · 0.70
drop_basicFunction · 0.70
drop_if_existsFunction · 0.70
show_synonym_groupsFunction · 0.70
terms_case_foldedFunction · 0.70

Calls 2

parseFunction · 0.70
expectMethod · 0.45

Tested by 6

create_basicFunction · 0.56
create_name_lowercasedFunction · 0.56
drop_basicFunction · 0.56
drop_if_existsFunction · 0.56
show_synonym_groupsFunction · 0.56
terms_case_foldedFunction · 0.56