Home > PHP > Function > > dbplus_rsecindex()

dbplus_rsecindex()

dbplus_rsecindex - Create a new secondary index for a relation

Syntax

mixed dbplus_rsecindex (resource $relation, mixed $domlist, int $type)

Arguments

  • relation - A relation opened by dbplus_open().
  • domlist - A combination of domains. May be passed as a single domain name string or as an array of domain names.
  • type

Description

dbplus_rsecindex() will create a new secondary index for relation with consists of the domains specified by domlist and is of type type

Version

PHP 4 <= 4.1.0, PECL dbplus >= 0.9

Return value

Returns resource on success or DBPLUS_ERR_UNKNOWN on failure.