notSupported() публичный статический Метод

public static notSupported ( string $method ) : DBALException
$method string
Результат DBALException
Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function getIndexDeclarationSQL($name, Index $index)
 {
     // Index declaration in statements like CREATE TABLE is not supported.
     throw DBALException::notSupported(__METHOD__);
 }
Пример #2
0
 /**
  * The class name of the reserved keywords list.
  *
  * @return string
  */
 protected function getReservedKeywordsClass()
 {
     throw DBALException::notSupported(__METHOD__);
 }
Пример #3
0
 /**
  * @param array $sequence
  * @return Sequence
  */
 protected function _getPortableSequenceDefinition($sequence)
 {
     throw DBALException::notSupported('Sequences');
 }
Пример #4
0
 public function getSequenceNextValSQL($sequenceName)
 {
     throw DBALException::notSupported(__METHOD__);
 }
Пример #5
0
 /**
  * Gets the SQL Snippet used to declare a BLOB column type.
  */
 public function getBlobTypeDeclarationSQL(array $field)
 {
     throw DBALException::notSupported(__METHOD__);
 }
 /**
  * {@inheritDoc}
  */
 public function getAvgExpression($column)
 {
     throw DBALException::notSupported(__METHOD__);
 }
Пример #7
0
 /**
  * Obtain DBMS specific SQL to be used to create date fields in statements
  * like CREATE TABLE.
  * 
  * @param array $fieldDeclaration
  * @return string
  */
 public function getDateTypeDeclarationSql(array $fieldDeclaration)
 {
     throw DBALException::notSupported(__METHOD__);
 }
Пример #8
0
 /**
  * {@inheritDoc}
  */
 public function listTableIndexes($table)
 {
     throw DBALException::notSupported(__METHOD__);
 }