Skip to content

CountDistinctValues

Constants

ConstantVisibilityTypeValue
NAMEpublic'countDistinctValues'
HASH_ALGOpublic'sha3-256'
HASH_START_ATpublic256

Properties

distinctScalar

php
protected array $distinctScalar

distinctFloat

php
protected array $distinctFloat

distinctObject

php
protected \SplObjectStorage $distinctObject

hasTrue

php
protected int $hasTrue

hasFalse

php
protected int $hasFalse

distinctHash

php
protected array $distinctHash

Methods

getResult

php
public getResult(): int|float

addValue

php
public addValue(mixed $value): void

Parameters:

ParameterTypeDescription
$valuemixed

Inherited methods

col

php
public static col(string $column, ?string $as = null): \MammothPHP\WoollyM\Stats\AggProvider
  • This method is static.

Parameters:

ParameterTypeDescription
$columnstring
$as?string

executeProperty

php
public executeProperty(\MammothPHP\WoollyM\Statements\Select\Select $select): int|float|null

Parameters:

ParameterTypeDescription
$select\MammothPHP\WoollyM\Statements\Select\Select

executeMethod

php
public executeMethod(\MammothPHP\WoollyM\Statements\Select\Select $select, array $arguments): int|float|null

Parameters:

ParameterTypeDescription
$select\MammothPHP\WoollyM\Statements\Select\Select
$argumentsarray

addValue

php
public addValue(mixed $value): void
  • This method is abstract.

Parameters:

ParameterTypeDescription
$valuemixed

getResult

php
public getResult(): int|float|null

execute

php
protected execute(\MammothPHP\WoollyM\Statements\Select\Select $select): void

Parameters:

ParameterTypeDescription
$select\MammothPHP\WoollyM\Statements\Select\Select


Automatically generated on 2024-07-03

Released under the BSD 3-Clause License.