SqlCustomFilter class

The sql custom filter.

create example:

final filter = CustomFilter.sql(
 where: '${CustomColumns.base.width} > 1000',
 orderBy: [
     OrderByItem(CustomColumns.base.width, desc),
  ],
);
Inheritance

Constructors

SqlCustomFilter(String where, List<OrderByItem> orderBy)
The sql custom filter.

Properties

containsPathModified bool
Whether the AssetPathEntitys will return with modified time.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
needTitle bool
Whether the AssetEntitys will return with title.
getter/setter pairinherited
orderBy List<OrderByItem>
The order by condition.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type BaseFilterType
The type of the filter.
no setterinherited
where String
The where condition.
final

Methods

childMap() Map<String, dynamic>
The child map of the filter.
inherited
makeOrderBy() List<OrderByItem>
Make the order by condition.
override
makeWhere() String
Make the where condition.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert the filter to a map for channel.
inherited
toString() String
A string representation of this object.
inherited
updateDateToNow() PMFilter
The method only supports for FilterOptionGroup.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited