Home > PHP > Function > > dbplus_tremove()

dbplus_tremove()

dbplus_tremove - Remove tuple and return new current tuple

Syntax

int dbplus_tremove (resource $relation, array $tuple, array &$current)

Arguments

  • relation - A relation opened by dbplus_open().
  • tuple
  • current

Description

dbplus_tremove() removes tuple from relation if it perfectly matches a tuple within the relation. current, if given, will contain the data of the new current tuple after calling dbplus_tremove().

Version

PHP 4 <= 4.1.0, PECL dbplus >= 0.9

Return value