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