Database operations - Sequences.php 189 Bytes
Newer Older
1

hansbrix's avatar
hansbrix committed
2 3 4 5 6 7 8
<code type="php">
$sess = Doctrine_Manager::getInstance()->openConnection(new PDO("dsn","username","password"));

// gets the next ID from a sequence

$sess->getNextID($sequence);
</code>