(No version information available, might only be in Git)
TableUpdate::bind — Bind update query parameters
$placeholder_values
)Binds a value to a specific placeholder.
placeholder_values
The name of the placeholder, and the value to bind.
A TableUpdate object.
Example #1 mysql_xdevapi\TableUpdate::bind() example
<?php
$res = $table->update()->set('name', 'Alfonso')->where('name = :name and age > 2000')->bind(['name' => 'Oracila'])->execute();
?>