We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd538c4 commit 084dffdCopy full SHA for 084dffd
src/index.rs
@@ -33,7 +33,7 @@ impl ValueIndexConfiguration {
33
/// The where clause is optional and is a predicate expression defining conditions for indexing documents.
34
pub fn new(query_language: QueryLanguage, expressions: &str, where_: Option<&str>) -> Self {
35
let expressions_slices = from_str(expressions);
36
- let where_slices = from_str(where_.unwrap_or(""));
+ let where_slices = from_str(where_.unwrap_or_default());
37
Self {
38
cbl_ref: CBLValueIndexConfiguration {
39
expressionLanguage: query_language as u32,
0 commit comments