SortMode specifies what values to pick in case a document contains multiple values for the targeted sort field. Possible values are: min or max.
(sortMode string)
| 538 | // multiple values for the targeted sort field. Possible values are: |
| 539 | // min or max. |
| 540 | func (s *ScriptSort) SortMode(sortMode string) *ScriptSort { |
| 541 | s.sortMode = &sortMode |
| 542 | return s |
| 543 | } |
| 544 | |
| 545 | // NestedFilter sets a filter that nested objects should match with |
| 546 | // in order to be taken into account for sorting. |
nothing calls this directly
no outgoing calls
no test coverage detected