php8.5
Home/ Manual/ cubrid / functions/ cubrid_lob2_new

cubrid_lob2_new

PHP function Edit on GitHub ✎

(PECL CUBRID >= 8.4.1)

Create a lob object

Description

cubrid_lob2_new([resource $conn_identifier], string $type = "BLOB"): resource

The cubrid_lob2_new() function is used to create a lob object (both BLOB and CLOB). This function should be used before you bind a lob object.

Parameters

conn_identifier

Connection identifier. If the connection identifier is not specified, the last connection opened by cubrid_connect() or cubrid_connect_with_url() is assumed.

type

It may be "BLOB" or "CLOB", it won't be case-sensitive. The default value is "BLOB".

Return Values

Lob identifier when it is successful,Falseforfailure.

See Also

Source: reference/cubrid/functions/cubrid-lob2-new.xml · from the official PHP manual (php/doc-en)