Ejemplo n.º 1
0
 /**
  * Convert foreign key constraints references to a valid
  * stringified list
  *
  * @param string|array $references The referenced columns of a foreign key constraint statement
  * @return string
  */
 protected function _convertConstraintColumns($references)
 {
     if (is_string($references)) {
         return $this->_driver->quoteIdentifier($references);
     }
     return implode(', ', array_map([$this->_driver, 'quoteIdentifier'], $references));
 }
Ejemplo n.º 2
0
 /**
  * Rollback a save point by its name.
  *
  * @param string $name The save point name.
  * @return void
  */
 public function rollbackSavepoint($name)
 {
     $this->execute($this->_driver->rollbackSavePointSQL($name))->closeCursor();
 }