mirror of
https://github.com/dg/dibi.git
synced 2025-08-12 00:54:11 +02:00
applyLimit support
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user