mysql_xdevapi\TableDelete
PHP Manual

TableDelete::orderby

(No version information available, might only be in Git)

TableDelete::orderbySet delete sort criteria

说明

public mysql_xdevapi\TableDelete mysql_xdevapi\TableDelete::orderby ( string $orderby_expr )

Set the order options for a result set.

参数

orderby_expr

The sort definition.

返回值

A TableDelete object.

范例

Example #1 mysql_xdevapi\TableDelete::orderby() example

<?php

$res 
$table->select('a as aa','b as bb','c as cc')->orderby('b desc','a desc')->execute();

?>

mysql_xdevapi\TableDelete
PHP Manual