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

Function ok

nodedb-sql/src/ddl_ast/parse/copy_from.rs:304–306  ·  view source on GitHub ↗
(sql: &str)

Source from the content-addressed store, hash-verified

302 use crate::ddl_ast::parse::dispatch::parse;
303
304 fn ok(sql: &str) -> NodedbStatement {
305 parse(sql).expect("expected Some").expect("expected Ok")
306 }
307
308 fn err(sql: &str) -> SqlError {
309 parse(sql)

Callers 6

json_array_by_extensionFunction · 0.70
csv_by_extensionFunction · 0.70
csv_with_delimiterFunction · 0.70
header_falseFunction · 0.70

Calls 2

parseFunction · 0.70
expectMethod · 0.45

Tested by 6

json_array_by_extensionFunction · 0.56
csv_by_extensionFunction · 0.56
csv_with_delimiterFunction · 0.56
header_falseFunction · 0.56