|
TableSelect::executeselect ステートメントを実行する 説明
public mysql_xdevapi\RowResult mysql_xdevapi\TableSelect::execute()
execute() メソッドとチェインすることで、select ステートメントを実行します。 パラメータこの関数にはパラメータはありません。 戻り値RowResult オブジェクトを返します。 例例1 mysql_xdevapi\TableSelect::execute の例 上の例の出力は、 たとえば以下のようになります。
Array
(
[0] => Array
(
[name] => John
[age] => 42
)
)
|