Home > PHP > Function > OCI8 > oci_new_collection()

oci_new_collection()

oci_new_collection - Allocates new collection object

Syntax

oci_new_collection (resource $connection, string $tdo, string $schema)

Arguments

  • connection - An Oracle connection identifier, returned by oci_connect() or oci_pconnect().
  • tdo - Should be a valid named type (uppercase).
  • schema - Should point to the scheme, where the named type was created. The name of the current user is the default value.

Description

Allocates a new collection object.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns a new OCICollectionobject or FALSE on error.