GoLang OCI-Lob::truncate

request it (387)
GoLang replacement for PHP's OCI-Lob::truncate [edit | history]



Do you know a GoLang replacement for PHP's OCI-Lob::truncate? Write it!

PHP OCI-Lob::truncate

PHP original manual for OCI-Lob::truncate [ show | php.net ]

OCI-Lob::truncate

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

OCI-Lob::truncateTruncates large object

Description

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

Truncates the LOB.

Parameters

length

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

Return Values

Returns TRUE on success or FALSE on failure.

See Also