reql 0.11.2

A native ReQL driver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{cmd, Command};
use ql2::term::TermType;

pub trait Arg {
    fn arg(self) -> cmd::Arg<()>;
}

impl Arg for Command {
    fn arg(self) -> cmd::Arg<()> {
        Self::new(TermType::SetIntersection)
            .with_arg(self)
            .into_arg()
    }
}