OCI-Lob::truncate()
(PHP 5, PHP 7, PECL OCI8 >= 1.1.0)
Truncates large object
说明
OCI-Lob::truncate([int $length= 0]): bool
Truncates the LOB.
参数
- $length
If provided, this method will truncate the LOB to$lengthbytes. Otherwise, it will completely purge the LOB.
返回值
成功时返回TRUE
,或者在失败时返回FALSE
。
参见
- OCI-Lob::erase