SQLite3Stmt クラスはじめにSQLite 3 拡張モジュールのプリペアドステートメントを扱うクラスです。 インスタンスは SQLite3::prepare で取得します。 SQLite3Stmt::execute を呼び出すとクエリを実行し、 結果セットを扱う SQLite3Result を返します。 クラス概要
SQLite3Stmt
/* 定数 */
public
const
int
SQLite3Stmt::EXPLAIN_MODE_PREPARED = 0;
public
const
int
SQLite3Stmt::EXPLAIN_MODE_EXPLAIN = 1;
public
const
int
SQLite3Stmt::EXPLAIN_MODE_EXPLAIN_QUERY_PLAN = 2;
/* メソッド */
private __construct(SQLite3
$sqlite3, string $query)public bool bindParam(stringint
$param, mixed &$var, int $type = SQLITE3_TEXT)public bool bindValue(stringint
$param, mixed $value, int $type = SQLITE3_TEXT)public bool busy()
public bool clear()
public true close()
public SQLite3Resultfalse execute()
public int explain()
public stringfalse getSQL(bool
$expand = false)public int paramCount()
public bool readOnly()
public bool reset()
public bool setExplain(int
$mode)定義済み定数
|