code: public function values($distinct = false)
      {
          $this->distinct = $distinct;
  
          $sql = $this->getSQL();
  
          $results = $this->query($sql);
  
          if (is_null($results)) {
              return null;
          }
  
          $models = $this->resultToModels($results);
  
          return $models;
      }
docs: Get values