mysql_xdevapi\Table
PHP Manual

Table::count

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

Table::countGet row count

说明

public integer mysql_xdevapi\Table::count ( void )

Fetch the number of rows in the table.

参数

此函数没有参数。

返回值

The total of rows in the table.

范例

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

<?php

$rowsCount 
$table->count();

?>

mysql_xdevapi\Table
PHP Manual