public function distinct($field) { $this->query['type'] = Query::TYPE_DISTINCT; $this->query['distinct'] = $field; return $this; }