OCICollection::assign

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

OCICollection::assignAssigns a value to the collection from another existing collection

Descrição

public OCICollection::assign(OCICollection $from): bool

Assigns a value to the collection from another, previously created collection. Both collections must be created with oci_new_collection() prior to using them.

Parâmetros

from

An instance of OCICollection.

Valor Retornado

Retorna true em caso de sucesso ou false em caso de falha.

Registro de Alterações

Versão Descrição
8.0.0, PECL OCI8 3.0.0 The OCI-Collection class was renamed to OCICollection to align with PHP naming standards.

Veja Também