Macro skytable::query [−][src]
macro_rules! query { ($($arg:expr),+) => { ... }; }
Expand description
A macro that can be used to easily create queries with almost variadic properties. Where you’d normally create queries like this:
use skytable::Query; let q = Query::new().arg("mset").arg("x").arg("100").arg("y").arg("200");
with this macro, you can just do this:
ⓘ
use skytable::query; let q = query!("mset", "x", "100", "y", "200");