mention SQL Anywhere in basic mapping docs
This commit is contained in:
parent
c460344994
commit
45118a2811
@ -340,15 +340,16 @@ Here is the list of possible generation strategies:
|
|||||||
|
|
||||||
- ``AUTO`` (default): Tells Doctrine to pick the strategy that is
|
- ``AUTO`` (default): Tells Doctrine to pick the strategy that is
|
||||||
preferred by the used database platform. The preferred strategies
|
preferred by the used database platform. The preferred strategies
|
||||||
are IDENTITY for MySQL, SQLite and MsSQL and SEQUENCE for Oracle
|
are IDENTITY for MySQL, SQLite, MsSQL and SQL Anywhere and SEQUENCE
|
||||||
and PostgreSQL. This strategy provides full portability.
|
for Oracle and PostgreSQL. This strategy provides full portability.
|
||||||
- ``SEQUENCE``: Tells Doctrine to use a database sequence for ID
|
- ``SEQUENCE``: Tells Doctrine to use a database sequence for ID
|
||||||
generation. This strategy does currently not provide full
|
generation. This strategy does currently not provide full
|
||||||
portability. Sequences are supported by Oracle and PostgreSql.
|
portability. Sequences are supported by Oracle, PostgreSql and
|
||||||
|
SQL Anywhere.
|
||||||
- ``IDENTITY``: Tells Doctrine to use special identity columns in
|
- ``IDENTITY``: Tells Doctrine to use special identity columns in
|
||||||
the database that generate a value on insertion of a row. This
|
the database that generate a value on insertion of a row. This
|
||||||
strategy does currently not provide full portability and is
|
strategy does currently not provide full portability and is
|
||||||
supported by the following platforms: MySQL/SQLite
|
supported by the following platforms: MySQL/SQLite/SQL Anywhere
|
||||||
(AUTO\_INCREMENT), MSSQL (IDENTITY) and PostgreSQL (SERIAL).
|
(AUTO\_INCREMENT), MSSQL (IDENTITY) and PostgreSQL (SERIAL).
|
||||||
- ``TABLE``: Tells Doctrine to use a separate table for ID
|
- ``TABLE``: Tells Doctrine to use a separate table for ID
|
||||||
generation. This strategy provides full portability.
|
generation. This strategy provides full portability.
|
||||||
@ -391,7 +392,7 @@ besides specifying the sequence's name:
|
|||||||
</id>
|
</id>
|
||||||
</entity>
|
</entity>
|
||||||
</doctrine-mapping>
|
</doctrine-mapping>
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
Message:
|
Message:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user