distinct property

bool distinct

Get the status of "distinct-values" configuration.

Implementation

bool get distinct => _distinct;
void distinct=(bool d)

Set to only return distinct values.

E.g. [foo, bar] instead of [foo, bar, bar, bar, foo]. Strings default to case-insensitive comparison.

Implementation

set distinct(bool d) {
  _distinct = d;
  checkObx(C.query_prop_distinct_case(_ptr, d, _caseSensitive));
}