PHP 8.4.2 Released!

DatabaseObject::existsInDatabase

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

DatabaseObject::existsInDatabaseCheck if object exists in database

说明

abstract public mysql_xdevapi\DatabaseObject::existsInDatabase(): 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.

示例

示例 #1 mysql_xdevapi\DatabaseObject::existsInDatabase() example

<?php

$existInDb
= $dbObj->existsInDatabase();

?>
添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top