mysql_xdevapi\Table
PHP Manual

Table::delete

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

Table::deleteDelete rows from table

说明

public mysql_xdevapi\TableDelete mysql_xdevapi\Table::delete ( void )

Deletes rows from a table.

参数

此函数没有参数。

返回值

A TableDelete object

范例

Example #1 mysql_xdevapi\Table::delete() example

<?php

$table
->delete()->where("name = :name")->orderby("id DESC")->limit(2)->bind(['name' => 'Cassidy'])->execute();

?>

mysql_xdevapi\Table
PHP Manual