(PHP 5 >= 5.3.0, PHP 7)
はじめに
SQLite 3 拡張モジュールのプリペアドステートメントを扱うクラスです。
クラス概要
SQLite3Stmt {
public clear ( ) : bool
public close ( ) : bool
public execute ( ) : SQLite3Result
public getSQL
([ bool $expanded
= false
] ) : string|false
public paramCount ( ) : int
public readOnly ( ) : bool
public reset ( ) : bool
}
目次
- SQLite3Stmt::bindParam — パラメータを変数にバインドする
- SQLite3Stmt::bindValue — パラメータの値を変数にバインドする
- SQLite3Stmt::clear — 現在バインドされているすべてのパラメータをクリアする
- SQLite3Stmt::close — プリペアドステートメントを閉じる
- SQLite3Stmt::execute — プリペアドステートメントを実行し、結果セットオブジェクトを返す
- SQLite3Stmt::getSQL — ステートメントのSQLを取得する
- SQLite3Stmt::paramCount — プリペアドステートメント内のパラメータの数を返す
- SQLite3Stmt::readOnly — ステートメントが読み取り専用かどうかを返す
- SQLite3Stmt::reset — プリペアドステートメントをリセットする
/* メソッド */