(PECL mysql-xdevapi >= 8.0.11)
はじめに
テーブル上のレコードを更新する操作を行うステートメントです。
クラス概要
mysql_xdevapi\TableUpdate implements mysql_xdevapi\Executable {
public bind
( array $placeholder_values
) : mysql_xdevapi\TableUpdate
public execute ( ) : mysql_xdevapi\TableUpdate
public limit
( int $rows
) : mysql_xdevapi\TableUpdate
public orderby
( mixed $orderby_expr
, mixed ...$orderby_exprs
) : mysql_xdevapi\TableUpdate
public set
( string $table_field
, string $expression_or_literal
) : mysql_xdevapi\TableUpdate
public where
( string $where_expr
) : mysql_xdevapi\TableUpdate
}
目次
- TableUpdate::bind — update のクエリパラメータをバインドする
- TableUpdate::__construct — TableUpdate のコンストラクタ
- TableUpdate::execute — update クエリを実行する
- TableUpdate::limit — 更新する行の数を限定する
- TableUpdate::orderby — ソート条件を設定する
- TableUpdate::set — 更新されるフィールドを追加する
- TableUpdate::where — 検索フィルタを設定する
/* メソッド */