Exemplo n.º 1
0
 public function enableForeignKeys()
 {
     $this->exec($this->platform->getEnableForeignKeyChecksSql());
 }
Exemplo n.º 2
0
 /**
  * @param  array $fields
  * @return string
  */
 protected function quoteIdentifiersSeparated($fields)
 {
     return $this->platform->quoteIdentifiersSeparated($fields);
 }
Exemplo n.º 3
0
 /**
  * (re)create view
  *
  * @param PlatformInterface $platform
  * @param string            $viewName
  */
 private function createView(PlatformInterface $platform, $viewName)
 {
     $sqlStatement = $this->schema->getViewStatement($viewName);
     $sql = $platform->getCreateViewSql($viewName, $sqlStatement);
     $this->conn->exec($sql);
 }