(No version information available, might only be in Git)
TableDelete::orderby — Définit les critères de tri de la suppression
Définit les options de tri pour un ensemble de résultats.
orderby_exprLa définition du tri.
Un objet TableDelete.
Exemple #1 Exemple de mysql_xdevapi\TableDelete::orderBy()
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$schema = $session->getSchema("addressbook");
$table  = $schema->getTable("names");
$table->delete()
  ->where("age = :age")
  ->bind(['age' => 42])
  ->orderby("name DESC")
  ->limit(1)
  ->execute();
?>