(No version information available, might only be in Git)
TableDelete::limit — Limit deleted rows
$rows
)Sets the maximum number of records or documents to delete.
rows
The maximum number of records or documents to delete.
TableDelete object.
Example #1 mysql_xdevapi\TableDelete::limit() example
<?php
$table->delete()->where("name = :name")->orderby("id DESC")->limit(2)->bind(['name' => 'Cassidy'])->execute();
?>