OCILob::truncate
PHP function
Edit on GitHub ✎
(PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0)
Truncates large object
Description
OCILob::truncate(int $length = 0): bool
Truncates the LOB.
Parameters
lengthIf provided, this method will truncate the LOB to
lengthbytes. Otherwise, it will completely purge the LOB.
Return Values
Success
Changelog
| Version | Description |
|---|---|
| 8.0.0, PECL OCI8 3.0.0 | The OCI-Lob class was renamed to OCILob to align with PHP naming standards. |