DatabaseObject::existsInDatabase
(No version information available, might only be in Git)
DatabaseObject::existsInDatabase — Check if object exists in database
说明
abstract public mysql_xdevapi\DatabaseObject::existsInDatabase
( void
) : bool
Verifies if the database object refers to an object that exists in the database.
参数
此函数没有参数。
返回值
Returns TRUE
if object exists in the database, else FALSE
if it does not.
范例
Example #1 mysql_xdevapi\DatabaseObject::existsInDatabase() example
<?php
$existInDb = $dbObj->existsInDatabase();
?>