PHP Manual
Prev |  | Next

# oci_new_collection

(PHP 5)

oci_new_collection -- Allocates new collection object

## Description

OCI-Collection oci_new_collection ( resource connection, string tdo [, string schema] )

Allocates a new collection object. Parameter tdo should be a valid named type (uppercase). The third, optional parameter schema should point to the scheme, where the named type was created. oci_new_collection() uses the name of the current user as the default value of schema.

oci_new_collection() returns `FALSE` on error.

> Note: In PHP versions before 5.0.0 you must use ocinewcollection() instead. This name still can be used, it was left as alias of oci_new_collection() for downwards compatability. This, however, is deprecated and not recommended.

Prev | Home | Next
oci_lob_is_equal | Up | oci_new_connect