使用 Keys() 参数查询 Couchbase 视图,我们可以在 String 的情况下实现 EqualsIgnoreCase 吗?

Querying Couchbase Views using Keys() parameter, can we implement the EqualsIgnoreCase in case of String.?

我有一个用例,我想像这样使用 Keys() 函数查询 couchbaseViews。

ViewQuery.from(documentDesignName, viewName).stale(Stale.FALSE).keys(["riya","astha"])

所以如果数据库中存在 "Riya",它不会返回任何东西。
因此我想忽略字符串的大小写。 感谢任何帮助。
提前致谢!

您最好的选择是在视图本身中以小写形式发出键。然后你也可以随时比较键参数是否为小写。