cubrid_lob_size

(PECL CUBRID >= 8.3.1)

cubrid_lob_sizeGet BLOB/CLOB data size

Descrição

cubrid_lob_size(resource $lob_identifier): string

cubrid_lob_size() is used to get BLOB/CLOB data size.

Parâmetros

lob_identifier

LOB identifier.

Valor Retornado

A string representing LOB data size, when process is successful, ou false em caso de falha.

Registro de Alterações

Versão Descrição
8.4.0 Change return value type from int to string.

Exemplos

Exemplo #1 cubrid_lob_size() example

<?php
$lobs
= cubrid_lob_get($con, "SELECT doc_content FROM doc WHERE doc_id=5");
echo
"Doc size:".cubrid_lob_size($lobs[0]);
cubrid_lob_export($conn, $lobs[0], "doc_5.txt");
cubrid_lob_close($lobs);
?>

Veja Também

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top