Module
MinAggregation
MinAggregation ( name )
Aggregation that keeps track and returns the minimum value among numeric values extracted from the aggregated documents.
|
Method Summary
Returns | Name | Description |
---|---|---|
String | _type() | The type of ejs object. For internal use only. |
Object | field(field) | Sets the field to operate on. |
Object | lang(language) | The script language being used. |
Object | params(p) | Sets parameters that will be applied to the script. Overwrites any existing params. |
Object | script(scriptCode) | Allows you generate or modify the terms/values using a script. |
Object | scriptFile(scriptFile) | Allows you generate or modify the terms/values using a script. |
Object | scriptId(scriptId) | Allows you generate or modify the terms/values using a script. |
String | toJSON() | Retrieves the internal |
Method Detail
field
Object field ( field )
Sets the field to operate on.
|
lang
Object lang ( language )
The script language being used.
|
params
Object params ( p )
Sets parameters that will be applied to the script. Overwrites
any existing params.
|
script
Object script ( scriptCode )
Allows you generate or modify the terms/values using a script.
|
scriptFile
Object scriptFile ( scriptFile )
Allows you generate or modify the terms/values using a script.
|
scriptId
Object scriptId ( scriptId )
Allows you generate or modify the terms/values using a script.
|
toJSON
String toJSON ( )
Retrieves the internal
|