略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: DatabaseObject::existsInDatabase

2024-04-26

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();

?>
add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/mysql-xdevapi-databaseobject.existsindatabase.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3