Function Database_super_mysql->get_table_count_approx
Definitions
sources/database/shared/mysql.php
- Get the number of rows in a table, with approximation support for performance (if necessary on the particular database backend).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$table | string | required parameter | N/A | N/A | The table name |
$connection | mixed | required parameter | N/A | N/A | The DB connection |
Return
- The count (null: do it normally)
- Type: ?integer
- Set: N/A
- Range: N/A