mysql_xdevapi\TableDelete
PHP Manual

TableDelete::bind

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

TableDelete::bindBind delete query parameters

说明

public mysql_xdevapi\TableDelete mysql_xdevapi\TableDelete::bind ( array $placeholder_values )

Binds a value to a specific placeholder.

参数

placeholder_values

The name of the placeholder and the value to bind.

返回值

A TableDelete object.

范例

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

<?php

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

?>

mysql_xdevapi\TableDelete
PHP Manual