1
0
Fork 0
mirror of synced 2025-03-28 19:03:50 +03:00
doctrine2/manual/codes/Database operations - Sequences.php
2006-07-23 21:08:06 +00:00

7 lines
175 B
PHP

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