collapsedLanguagesNotEqualTo method
Implementation
QueryBuilder<Dictionary, Dictionary, QAfterWhereClause>
collapsedLanguagesNotEqualTo(List<String> collapsedLanguages) {
return QueryBuilder.apply(this, (query) {
if (query.whereSort == Sort.asc) {
return query
.addWhereClause(IndexWhereClause.between(
indexName: r'collapsedLanguages',
lower: [],
upper: [collapsedLanguages],
includeUpper: false,
))
.addWhereClause(IndexWhereClause.between(
indexName: r'collapsedLanguages',
lower: [collapsedLanguages],
includeLower: false,
upper: [],
));
} else {
return query
.addWhereClause(IndexWhereClause.between(
indexName: r'collapsedLanguages',
lower: [collapsedLanguages],
includeLower: false,
upper: [],
))
.addWhereClause(IndexWhereClause.between(
indexName: r'collapsedLanguages',
lower: [],
upper: [collapsedLanguages],
includeUpper: false,
));
}
});
}