PHP Manual
Prev |  | Next

# lob->truncate

(no version information, might be only in CVS)

lob->truncate -- Truncates large object

## Description

bool lob->truncate ( [int length])

If parameter `length` is given, lob->truncate() truncates large object to `length` bytes. Otherwise, lob->truncate() will purge the LOB completely.

Returns `TRUE` on success or `FALSE` on failure.

See also oci_lob_erase().

Prev | Home | Next
lob->tell | Up | lob->writeTemporary