Пример #1
0
 /**
  * Checks to see if a foreign key exists.
  *
  * @param string $tableName
  * @param string[] $columns Column(s)
  * @param string|null $constraint Constraint name
  * @return bool
  */
 public function hasForeignKey($tableName, $columns, $constraint = null)
 {
     return $this->adapter->hasForeignKey($tableName, $columns, $constraint);
 }