Gdn_SQLDriver::distinct PHP Метод

distinct() публичный Метод

Specifies that the query should be run as a distinct so that duplicate columns are grouped together. Returns this object for chaining purposes.
public distinct ( boolean $Bool = true ) : Gdn_SQLDriver
$Bool boolean A boolean value indicating if the query should be distinct or not.
Результат Gdn_SQLDriver $this
    public function distinct($Bool = true)
    {
        $this->_Distinct = is_bool($Bool) ? $Bool : true;
        return $this;
    }