Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Check the <a href="https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/basic-mapping.html#identifiers-primary-keys" rel="nofollow noreferrer">latest doctrine documentation</a></p> <p>Here is a summary : the list of possible generation strategies:</p> <p><strong>AUTO (default)</strong>: Tells Doctrine to pick the strategy that is preferred by the used database platform. The preferred strategies are <code>IDENTITY</code> for MySQL, SQLite and MsSQL and <code>SEQUENCE</code> for Oracle and PostgreSQL. This strategy provides full portability.</p> <p><strong>SEQUENCE:</strong> Tells Doctrine to use a database sequence for <code>ID</code> generation. This strategy does currently not provide full portability. Sequences are supported by Oracle and PostgreSql.</p> <p><strong>IDENTITY:</strong> Tells Doctrine to use special identity columns in the database that generate a value on insertion of a row. This strategy does currently not provide full portability and is supported by the following platforms: </p> <ul> <li>MySQL/SQLite => <code>AUTO_INCREMENT</code></li> <li>MSSQL => <code>IDENTITY</code> </li> <li>PostgreSQL => <code>SERIAL</code></li> </ul> <p><strong>TABLE:</strong> Tells Doctrine to use a separate table for <code>ID</code> generation. This strategy provides full portability. <em>This strategy is not yet implemented!</em></p> <p><strong>NONE:</strong> Tells Doctrine that the identifiers are assigned, and thus generated, by your code. The assignment must take place before a new entity is passed to EntityManager#persist. <code>NONE</code> is the same as leaving off the <code>@GeneratedValue</code> entirely.</p> <h3>SINCE VERSION 2.3 :</h3> <p><strong>UUID:</strong> Tells Doctrine to use the built-in Universally Unique Identifier generator. This strategy provides full portability.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload