cubrid_is_instance

PECL CUBRID >= 8.3.0
cubrid_is_instance - Check whether the instance pointed by OID exists
Manual
Code Examples

cubrid_is_instance( resource$conn_identifier, string$oid ): int

The cubrid_is_instance function is used to check whether the instance pointed by the given oid exists or not.

Parameters

conn_identifier

Connection identifier.

oid

OID of the instance that you want to check the existence.

Return Values

1, if such instance exists;

0, if such instance does not exist;

-1, in case of error

Related Functions

Example of cubrid_is_instance

Show all examples for cubrid_is_instance

PHP Version:


Function cubrid_is_instance:

CUBRID Functions

Most used PHP functions