DBPLUS_RKEYS(3) 1 DBPLUS_RKEYS(3)
dbplus_rkeys - Specify new primary key for a relation
SYNOPSIS
mixed dbplus_rkeys (resource $relation, mixed $domlist)
DESCRIPTION
dbplus_rkeys(3) will replace the current primary key for $relation with the combination of domains specified by $domlist.
PARAMETERS
o $relation
- A relation opened by dbplus_open(3).
o $domlist
- A combination of domains. May be passed as a single domain name string or as an array of domain names.
RETURN VALUES
Returns resource on success or DBPLUS_ERR_UNKNOWN on failure.
NOTES
Warning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in
a future release of PHP. This function should be used at your own risk.
PHP Documentation Group DBPLUS_RKEYS(3)