db++ error codes
dbplus_add
DB++
PHP Manual

# DB++ Functions

## Table of Contents

- dbplus_add — Add a tuple to a relation
- dbplus_aql — Perform AQL query
- dbplus_chdir — Get/Set database virtual current directory
- dbplus_close — Close a relation
- dbplus_curr — Get current tuple from relation
- dbplus_errcode — Get error string for given errorcode or last error
- dbplus_errno — Get error code for last operation
- dbplus_find — Set a constraint on a relation
- dbplus_first — Get first tuple from relation
- dbplus_flush — Flush all changes made on a relation
- dbplus_freealllocks — Free all locks held by this client
- dbplus_freelock — Release write lock on tuple
- dbplus_freerlocks — Free all tuple locks on given relation
- dbplus_getlock — Get a write lock on a tuple
- dbplus_getunique — Get an id number unique to a relation
- dbplus_info — Get information about a relation
- dbplus_last — Get last tuple from relation
- dbplus_lockrel — Request write lock on relation
- dbplus_next — Get next tuple from relation
- dbplus_open — Open relation file
- dbplus_prev — Get previous tuple from relation
- dbplus_rchperm — Change relation permissions
- dbplus_rcreate — Creates a new DB++ relation
- dbplus_rcrtexact — Creates an exact but empty copy of a relation including indices
- dbplus_rcrtlike — Creates an empty copy of a relation with default indices
- dbplus_resolve — Resolve host information for relation
- dbplus_restorepos — Restore position
- dbplus_rkeys — Specify new primary key for a relation
- dbplus_ropen — Open relation file local
- dbplus_rquery — Perform local (raw) AQL query
- dbplus_rrename — Rename a relation
- dbplus_rsecindex — Create a new secondary index for a relation
- dbplus_runlink — Remove relation from filesystem
- dbplus_rzap — Remove all tuples from relation
- dbplus_savepos — Save position
- dbplus_setindex — Set index
- dbplus_setindexbynumber — Set index by number
- dbplus_sql — Perform SQL query
- dbplus_tcl — Execute TCL code on server side
- dbplus_tremove — Remove tuple and return new current tuple
- dbplus_undo — Undo
- dbplus_undoprepare — Prepare undo
- dbplus_unlockrel — Give up write lock on relation
- dbplus_unselect — Remove a constraint from relation
- dbplus_update — Update specified tuple in relation
- dbplus_xlockrel — Request exclusive lock on relation
- dbplus_xunlockrel — Free exclusive lock on relation

db++ error codes
dbplus_add
DB++
PHP Manual