mysql_xdevapi\Table
PHP Manual

Table::select

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

Table::selectSelect rows from table

说明

public mysql_xdevapi\TableSelect mysql_xdevapi\Table::select ( mixed $columns [, mixed $... ] )

Creates a new TableSelect object.

参数

columns

The columns to select data from. Can be an array with one or more values, or a string.

...

Additional columns parameter definitions.

返回值

TableSelect object.

范例

Example #1 mysql_xdevapi\Table::select() example

<?php

$res 
$table->select(['age''name'])->execute();

?>

mysql_xdevapi\Table
PHP Manual