1
0
mirror of synced 2024-12-13 22:56:04 +03:00
doctrine2/manual/codes/Database operations - Limit and offset.php

8 lines
206 B
PHP
Raw Normal View History

2006-07-24 01:08:06 +04:00
<?php
$sess = Doctrine_Manager::getInstance()->openConnection(new PDO("dsn","username","password"));
2006-07-24 01:08:06 +04:00
// select first ten rows starting from the row 20
$sess->select("select * from user",10,20);
?>