Module
TermFilter
TermFilter ( fieldName, term )
Constructs a filter for docs matching the term added to this object.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | cache(trueFalse) | Enable or disable caching of the filter |
Object | cacheKey(key) | Sets the cache key. |
Object | field(f) | Provides access to the filter fieldName used to construct the termFilter object. |
Object | name(name) | Sets the filter name. |
Object | term() | Provides access to the filter term used to construct the termFilter object. |
Object | toJSON() | Returns the filter object. |
Method Detail
cache
Object cache ( trueFalse )
Enable or disable caching of the filter
|
cacheKey
Object cacheKey ( key )
Sets the cache key.
|
field
Object field ( f )
Provides access to the filter fieldName used to construct the
termFilter object.
|
name
Object name ( name )
Sets the filter name.
|
term
Object term ( )
Provides access to the filter term used to construct the
termFilter object.
|