MCPcopy 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
354fn 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
361use either::Either;
362

Callers

nothing calls this directly

Calls 1

wsFunction · 0.70

Tested by

no test coverage detected