« cubrid_lob2_import
cubrid_lob2_read »

cubrid_lob2_new

(PECL CUBRID >= 8.4.1)

cubrid_lob2_new — Create a lob object

説明

function 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.

パラメータ

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".

戻り値

Lob identifier when it is successful,失敗した場合に false を返します.

参考

関連キーワード:
cubrid   identifier   resource   conn   type   connection   connect   bind   Connection
関連する関数・ページ:
function.cubrid-lob2-close   cubrid.resources   function.cubrid-get-class-name   function.cubrid-close   function.cubrid-lob2-import   function.cubrid-result