distinct() public method
Generates 'distinct' command.
public array distinct ( $collectionName, $fieldName, $condition = [], $options = [] ) | ||
---|---|---|
$collectionName | string |
Collection name. |
$fieldName | string |
Target field name. |
$condition | array |
Filter condition |
$options | array |
List of options in format: optionName => optionValue. |
return | array |
Command document. |
Please login to continue.