cubrid_lob2_export

(PECL CUBRID >= 8.4.1) Export the lob object to a file. bool cubrid_lob2_export ( resource $lob_identifier, string $file_name ) The cubrid_lob2_export() function is used to save the contents of BLOB/CLOB data to a file. To use this function, you must use cubrid_lob2_new() or fetch a lob object from CUBRID database first. If the file already exists, the operation will fail. This function will not influence the cursor posit

cubrid_lob2_close

(PECL CUBRID >= 8.4.1) Close LOB object. bool cubrid_lob2_close ( resource $lob_identifier ) The cubrid_lob2_close() function is used to close LOB object returned from cubrid_lob2_new() or got from the result set. Parameters: lob_identifier Lob identifier as a result of cubrid_lob2_new() or get from the result set. Returns: TRUE, on success. F

cubrid_lob2_bind

(PECL CUBRID >= 8.4.1) Bind a lob object or a string as a lob object to a prepared statement as parameters. bool cubrid_lob2_bind ( resource $req_identifier, int $bind_index, mixed $bind_value [, string $bind_value_type ] ) The cubrid_lob2_bind() function is used to bind BLOB/CLOB datas to a corresponding question mark placeholder in the SQL statement that was passed to cubrid_prepare(). If bind_value_type is not given, s

cubrid_lob_size

(PECL CUBRID >= 8.3.1) Get BLOB/CLOB data size string cubrid_lob_size ( resource $lob_identifier ) cubrid_lob_size() is used to get BLOB/CLOB data size. Parameters: lob_identifier LOB identifier. Returns: A string representing LOB data size, when process is successful. FALSE, when process is unsuccessful. Change

cubrid_lob_send

(PECL CUBRID >= 8.3.1) Read BLOB/CLOB data and send straight to browser bool cubrid_lob_send ( resource $conn_identifier, resource $lob_identifier ) cubrid_lob_send() reads BLOB/CLOB data and passes it straight through to the browser. To use this function, you must use cubrid_lob_get() first to get BLOB/CLOB info from CUBRID. Parameters: conn_identifier Connection ident

cubrid_lob_get

(PECL CUBRID >= 8.3.1) Get BLOB/CLOB data array cubrid_lob_get ( resource $conn_identifier, string $sql ) cubrid_lob_get() is used to get BLOB/CLOB meta info from CUBRID database, CUBRID gets BLOB/CLOB by executing the SQL statement, and returns all LOBs as a resource array. Be sure that the SQL retrieves only one column and its data type is BLOB or CLOB. Remember to use cubrid_lob_close() to release the LOBs if you don

cubrid_lob_export

(PECL CUBRID >= 8.3.1) Export BLOB/CLOB data to file bool cubrid_lob_export ( resource $conn_identifier, resource $lob_identifier, string $path_name ) cubrid_lob_export() is used to get BLOB/CLOB data from CUBRID database, and saves its contents to a file. To use this function, you must use cubrid_lob_get() first to get BLOB/CLOB info from CUBRID. Parameters: conn_identifier

cubrid_lob_close

(PECL CUBRID >= 8.3.1) Close BLOB/CLOB data bool cubrid_lob_close ( array $lob_identifier_array ) cubrid_lob_close() is used to close all BLOB/CLOB returned from cubrid_lob_get(). Parameters: lob_identifier_array LOB identifier array return from cubrid_lob_get. Returns: TRUE, when process is successful. FALSE, when process is unsuccessful.

cubrid_is_instance

(PECL CUBRID >= 8.3.0) Check whether the instance pointed by OID exists int cubrid_is_instance ( resource $conn_identifier, string $oid ) 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

cubrid_insert_id

(PECL CUBRID >= 8.3.0) Return the ID generated for the last updated AUTO_INCREMENT column string cubrid_insert_id ([ resource $conn_identifier ] ) The cubrid_insert_id() function retrieves the ID generated for the AUTO_INCREMENT column which is updated by the previous INSERT query. It returns 0 if the previous query does not generate new rows, or FALSE on failure. Note: CUBRID supports AUTO_INCREMENT for more than one