(No version information available, might only be in Git)
SqlStatement::bind — ステートメントのパラメータをバインドする
この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。
param例1 mysql_xdevapi\SqlStatement::bind() の例
<?php
/* ... */
?>bind using example:
<?php
try {
 $session = mysql_xdevapi\getSession("mysqlx://user:password@host");
} catch(Exception $e) {
 die("Connection could not be established: " . $e->getMessage());
}
$stmt = $session->sql("SELECT * FROM table WHERE id=? AND data=?");
$stmt->bind(1);
$stmt->bind("data");
$result = $stmt->execute();
?>