|
TableSelect::limitLimit selected rows Description
public mysql_xdevapi\TableSelect mysql_xdevapi\TableSelect::limit(int
$rows )Sets the maximum number of records or documents to return. Parameters
Return ValuesA TableSelect object. ExamplesExample #1 mysql_xdevapi\TableSelect::limit example
The above example will output something similar to: Array ( [0] => Array ( [name] => John [age] => 42 ) ) |