mysql_xdevapi\Table
PHP Manual

Table::existsInDatabase

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

Table::existsInDatabaseCheck if table exists in database

说明

public bool mysql_xdevapi\Table::existsInDatabase ( void )

Verifies if this table exists in the database.

参数

此函数没有参数。

返回值

Returns TRUE if table exists in the database, else FALSE if it does not.

范例

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

<?php

$existInDb 
$table->existsInDatabase();

?>

mysql_xdevapi\Table
PHP Manual