PHP Manual
后退 |  | 前进

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

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

See also oci_lob_erase().

后退 | 起点 | 前进
lob->tell | 上一级 | lob->writeTemporary