public distinct ( string $collectionName, string $fieldName, array $condition = [], array $options = [] ) : array | ||
$collectionName | string | collection name. |
$fieldName | string | field name to use. |
$condition | array | query parameters. |
$options | array | list of options in format: optionName => optionValue. |
return | array | array of distinct values, or "false" on failure. |