1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-12 00:54:11 +02:00

applyLimit support

This commit is contained in:
David Grudl
2006-09-23 07:55:11 +00:00
parent da608c2db2
commit d705f4089d
8 changed files with 74 additions and 19 deletions

View File

@@ -142,7 +142,6 @@ abstract class DibiDriver
/**
* Gets a information of the current database.
*
@@ -151,5 +150,14 @@ abstract class DibiDriver
abstract public function getMetaData();
/**
* Experimental - injects LIMIT/OFFSET to the SQL query
* @param string &$sql The SQL query that will be modified.
* @param int $limit
* @param int $offset
* @return void
*/
abstract public function applyLimit(&$sql, $limit, $offset = 0);
} // class DibiDriver