fix: unused variables for query command
This commit is contained in:
parent
2c75ab9dc1
commit
acb8c1551b
1 changed files with 12 additions and 1 deletions
|
@ -189,6 +189,17 @@ impl SonicChannel {
|
||||||
use FlushCommand for fn flushc<'a>(
|
use FlushCommand for fn flushc<'a>(
|
||||||
collection: &'a str,
|
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")]
|
#[cfg(feature = "search")]
|
||||||
|
@ -211,7 +222,7 @@ impl SonicChannel {
|
||||||
bucket: &'a str,
|
bucket: &'a str,
|
||||||
terms: &'a str,
|
terms: &'a str,
|
||||||
limit: usize => Some(limit),
|
limit: usize => Some(limit),
|
||||||
offset: usize => Some(limit),
|
offset: usize => Some(offset),
|
||||||
);
|
);
|
||||||
|
|
||||||
use SuggestCommand for fn suggest<'a>(
|
use SuggestCommand for fn suggest<'a>(
|
||||||
|
|
Loading…
Reference in a new issue