| ->escape() (Previous) | (Next) ->orderBy() | ||||
| |
|||||
|
|||||
Sets the limit for a query. (this only works on databases that support the LIMIT clause), without parameters, it will clear the current limit.
int $from - limit start (or number), or blank to reset
int $number - limit results to number
Deze functie kan niet statisch worden aangeroepen.
Since postgres and mysql only really support limit directly - calling this on an unsupported database will emit a PEAR::Error and die.
Voorbeeld 35-1. Setting the Limit
|
Voorbeeld 35-2. Resulting SQL
|
| ->escape() (Previous) | (Next) ->orderBy() | ||||||||
| |
|||||||||
|
|||||||||