cubrid_col_size

PECL CUBRID >= 8.3.0
cubrid_col_size - Get the number of elements in collection type column using OID
Manual
Code Examples

cubrid_col_size( resource$conn_identifier, string$oid, string$attr_name ): int

The cubrid_col_size function is used to get the number of elements in a collection type (set, multiset, sequence) attribute.

Parameters

conn_identifier

Connection identifier.

oid

OID the instance that you want to work with.

attr_name

Name of the attribute that you want to work with.

Return Values

Number of elements, when process is successful, or false on failure.

Changelog

Version Description
8.3.1 Change return value: when process is unsuccessful, return false, not -1.

Example of cubrid_col_size

Show all examples for cubrid_col_size

PHP Version:


Function cubrid_col_size:

CUBRID Functions

Most used PHP functions