dbplus_rcrtexact
(PHP 4 >= 4.0.7, PECL dbplus:0.9)
dbplus_rcrtexact — 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 .
參數
- 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值
Returns resource on success or DBPLUS_ERR_UNKNOWN on failure.
註釋
Warning
本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。