fix: unused variables for query command

This commit is contained in:
Dmitriy Pleshevskiy 2020-07-23 17:15:57 +03:00
parent 2c75ab9dc1
commit acb8c1551b

View file

@ -189,6 +189,17 @@ impl SonicChannel {
use FlushCommand for fn flushc<'a>(
collection: &'a str,
);
use FlushCommand for fn flushb<'a>(
collection: &'a str,
bucket: &'a str => Some(bucket),
);
use FlushCommand for fn flusho<'a>(
collection: &'a str,
bucket: &'a str => Some(bucket),
object: &'a str => Some(object),
);
}
#[cfg(feature = "search")]
@ -211,7 +222,7 @@ impl SonicChannel {
bucket: &'a str,
terms: &'a str,
limit: usize => Some(limit),
offset: usize => Some(limit),
offset: usize => Some(offset),
);
use SuggestCommand for fn suggest<'a>(