Home > PHP > Function > OCI8 > OCI-Collection->assign()

OCI-Collection->assign()

OCI-Collection->assign - Assigns a value to the collection from another existing collection

Syntax

bool OCI-Collection->assign ( $from)

Arguments

  • from - An instance of OCI-Collection.

Description

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

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns TRUE on success or FALSE on failure.