コード例 #1
0
ファイル: EntityFinder.php プロジェクト: bugadani/orminy
 /**
  * Update records with $data where the primary key equals to or is an element of $fieldValue
  *
  * Note: previous WHERE clauses are preserved
  *
  * @param mixed|array $key
  * @param array       $data
  */
 public function updateByPrimaryKey($key, array $data)
 {
     $this->updateByField($this->entity->getPrimaryKey(), $key, $data);
 }