Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosdata/cosdata
/ condition
Function
condition
org/src/cosql.rs:354–359 ·
view source on GitHub ↗
(input: &str)
Source
from the content-addressed store, hash-verified
352
}
353
354
fn condition(input: &str) -> IResult<&str, String> {
355
map(
356
tuple((ws(variable), ws(tag(
">"
)), ws(digit1))),
357
|(var, _, value)| format!(
"{} > {}"
, var, value),
358
)(input)
359
}
360
361
use either::Either;
362
Callers
nothing calls this directly
Calls
1
ws
Function · 0.70
Tested by
no test coverage detected