MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / parse_cell

Function parse_cell

src/pglite/parse.rs:114–119  ·  view source on GitHub ↗
(value: Option<&str>, type_id: i32, parsers: &ParserLookup)

Source from the content-addressed store, hash-verified

112}
113
114fn parse_cell(value: Option<&str>, type_id: i32, parsers: &ParserLookup) -> Value {
115 match value {
116 None => Value::Null,
117 Some(text) => parsers.apply(text, type_id),
118 }
119}
120
121fn retrieve_row_count(msg: &CommandCompleteMessage) -> usize {
122 let parts: Vec<&str> = msg.text.split(' ').collect();

Callers 1

map_rowFunction · 0.85

Calls 1

applyMethod · 0.80

Tested by

no test coverage detected