macro_rules! as_range { ($bin_name:expr, $begin:expr, $end:expr) => { ... }; }
Create range filter for queries; supports integer values.