1
0
mirror of synced 2024-12-15 07:36:03 +03:00
doctrine2/manual/docs/Database operations - Sequences.php
2007-04-13 21:49:11 +00:00

9 lines
189 B
PHP

<code type="php">
$sess = Doctrine_Manager::getInstance()->openConnection(new PDO("dsn","username","password"));
// gets the next ID from a sequence
$sess->getNextID($sequence);
</code>