core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/OraclePlatform.php 1 location
|
@@ 198-205 (lines=8) @@
|
| 195 |
|
* Therefore we can use MINVALUE to be able to get a hint what START WITH was for later introspection |
| 196 |
|
* in {@see listSequences()} |
| 197 |
|
*/ |
| 198 |
|
public function getCreateSequenceSQL(Sequence $sequence) |
| 199 |
|
{ |
| 200 |
|
return 'CREATE SEQUENCE ' . $sequence->getQuotedName($this) . |
| 201 |
|
' START WITH ' . $sequence->getInitialValue() . |
| 202 |
|
' MINVALUE ' . $sequence->getInitialValue() . |
| 203 |
|
' INCREMENT BY ' . $sequence->getAllocationSize() . |
| 204 |
|
$this->getSequenceCacheSQL($sequence); |
| 205 |
|
} |
| 206 |
|
|
| 207 |
|
/** |
| 208 |
|
* {@inheritDoc} |
core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php 1 location
|
@@ 708-715 (lines=8) @@
|
| 705 |
|
/** |
| 706 |
|
* {@inheritDoc} |
| 707 |
|
*/ |
| 708 |
|
public function getCreateSequenceSQL(Sequence $sequence) |
| 709 |
|
{ |
| 710 |
|
return 'CREATE SEQUENCE ' . $sequence->getQuotedName($this) . |
| 711 |
|
' INCREMENT BY ' . $sequence->getAllocationSize() . |
| 712 |
|
' MINVALUE ' . $sequence->getInitialValue() . |
| 713 |
|
' START ' . $sequence->getInitialValue() . |
| 714 |
|
$this->getSequenceCacheSQL($sequence); |
| 715 |
|
} |
| 716 |
|
|
| 717 |
|
/** |
| 718 |
|
* {@inheritDoc} |
core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SQLAnywhere12Platform.php 1 location
|
@@ 38-44 (lines=7) @@
|
| 35 |
|
/** |
| 36 |
|
* {@inheritdoc} |
| 37 |
|
*/ |
| 38 |
|
public function getCreateSequenceSQL(Sequence $sequence) |
| 39 |
|
{ |
| 40 |
|
return 'CREATE SEQUENCE ' . $sequence->getQuotedName($this) . |
| 41 |
|
' INCREMENT BY ' . $sequence->getAllocationSize() . |
| 42 |
|
' START WITH ' . $sequence->getInitialValue() . |
| 43 |
|
' MINVALUE ' . $sequence->getInitialValue(); |
| 44 |
|
} |
| 45 |
|
|
| 46 |
|
/** |
| 47 |
|
* {@inheritdoc} |
core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/SQLServer2012Platform.php 1 location
|
@@ 50-56 (lines=7) @@
|
| 47 |
|
/** |
| 48 |
|
* {@inheritdoc} |
| 49 |
|
*/ |
| 50 |
|
public function getCreateSequenceSQL(Sequence $sequence) |
| 51 |
|
{ |
| 52 |
|
return 'CREATE SEQUENCE ' . $sequence->getQuotedName($this) . |
| 53 |
|
' START WITH ' . $sequence->getInitialValue() . |
| 54 |
|
' INCREMENT BY ' . $sequence->getAllocationSize() . |
| 55 |
|
' MINVALUE ' . $sequence->getInitialValue(); |
| 56 |
|
} |
| 57 |
|
|
| 58 |
|
/** |
| 59 |
|
* {@inheritdoc} |