Skip to content

Kirby 3.8.4

$query->distinct()

Enables distinct select clauses.

$query->distinct(bool $distinct = true): Kirby\Database\Query

Parameters

Name Type Default
$distinct bool true

Return type

Kirby\Database\Query

This method does not modify the existing $query object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Database\Query