mysql_xdevapi\TableSelect
PHP Manual

TableSelect::execute

(No version information available, might only be in Git)

TableSelect::executeExecute select statement

说明

public mysql_xdevapi\RowResult mysql_xdevapi\TableSelect::execute ( void )

Execute the statement.

参数

此函数没有参数。

返回值

A RowResult object.

范例

Example #1 mysql_xdevapi\TableSelect::execute() example

<?php

$res 
$table->select('name','age')->where('name like \'P%\' or name like\'C%\'')->execute()

?>

mysql_xdevapi\TableSelect
PHP Manual