Exemple #1
0
 /**
  * Use the Primary key for the "name" part of the where constraint
  *
  * @param  mixed        $value
  * @return Find $this
  */
 public function whereKey($value)
 {
     $repo = $this->getRepo();
     $this->select->where("{$repo->getTable()}.{$repo->getPrimaryKey()}", $value);
     return $this;
 }