dbplus_rcreate
dbplus_rcrtlike
DB++ Functions
PHP Manual

# dbplus_rcrtexact

(PHP 4 >= 4.0.7, PECL dbplus:0.9)

dbplus_rcrtexact — Creates an exact but empty copy of a relation including indices

### Description

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`

`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.

### Return Values

Returns resource on success or `DBPLUS_ERR_UNKNOWN` on failure.

### Notes

Warning

This function is EXPERIMENTAL. The behaviour of this function, the its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

dbplus_rcreate
dbplus_rcrtlike
DB++ Functions
PHP Manual