OCI-Lob
PHP Manual

OCI-Lob::truncate

(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)

OCI-Lob::truncateTruncates large object

说明

bool OCI-Lob::truncate ([ int $length = 0 ] )

Truncates the LOB.

参数

length

If provided, this method will truncate the LOB to length bytes. Otherwise, it will completely purge the LOB.

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见


OCI-Lob
PHP Manual