Yoast\WP\Lib

ORM::distinct │ public │ Yoast 1.0

Adds a DISTINCT keyword before the list of columns in the SELECT query.

Метод класса: ORM{}

Хуков нет.

Возвращает

ORM.

Использование

$ORM = new ORM();
$ORM->distinct();

Код ORM::distinct() Yoast 28.9

public function distinct() {
	$this->distinct = true;

	return $this;
}