dbplus_rcrtexact

(PHP 4 <= 4.1.0, PECL dbplus >= 0.9)
Creates an exact but empty copy of a relation including indices
mixed dbplus_rcrtexact ( string $name, resource $relation [, bool $overwrite ] )

dbplus_rcrtexact() will create an exact but empty copy of the given relation under a new name.

Parameters:
name

dbplus_rcrtexact() will create an exact but empty copy of the given relation under a new name.

relation

The copied relation, opened by dbplus_open().

overwrite

An existing relation by the same name will only be overwritten if this parameter is set to TRUE and no other process is currently using the relation.

Returns:

Returns resource on success or DBPLUS_ERR_UNKNOWN on failure.

doc_php
2016-02-24 16:16:16
Comments
Leave a Comment

Please login to continue.