Select::Limit
Specify the quantity of data to return
Sintaxe
namespace
ProtocolLive\PhpLiveDb;
final class
Select{
public function
Limit(
):self;
}
Parameters
$Amount
- The quantity of data to return;
$First
- The data to start with;
Examples
$consult
=
$Db->Select('users');
$consult->Limit(10);
$consult ->Run();
$consult
=
$Db->Select('users');
$consult->Limit(50, 100);
$consult ->Run();
|
|
*/