OCILob::truncate

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

OCILob::truncateTruncates large object

Descrierea

Lob::truncate ( int $length = 0 ) : bool

Truncates the LOB.

Parametri

length

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

Valorile întoarse

Întoarce valoarea true în cazul succesului sau false în cazul eșecului.

Istoricul schimbărilor

Versiune Descriere
8.0.0, PECL OCI8 3.0.0 The OCI-Lob class was renamed to OCILob to align with PHP naming standards.

A se vedea și