Module
MissingFilter
MissingFilter ( fieldName )
Filters documents where a specific field has no value present.
|
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 | existence(trueFalse) | Checks if the field doesn't exist. |
Object | field(name) | Sets the field to check for missing values. |
Object | name(name) | Sets the filter name. |
Object | nullValue(trueFalse) | Checks if the field has null values. |
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.
|
existence
Object existence ( trueFalse )
Checks if the field doesn't exist.
|
field
Object field ( name )
Sets the field to check for missing values.
|
name
Object name ( name )
Sets the filter name.
|
nullValue
Object nullValue ( trueFalse )
Checks if the field has null values.
|