cubrid_put

PECL CUBRID >= 8.3.0
cubrid_put - Update a column using OID
Manual
Code Examples

cubrid_put( resource$conn_identifier, string$oid, [string$attr], mixed$value ): bool

The cubrid_put function is used to update an attribute of the instance of the given oid.

You can update single attribute by using string data type to set attr. In such case, you can use integer, floating point or string type data for the value argument. To update multiple number of attributes, you can disregard the attr argument, and set value argument with associative array data type.

Parameters

conn_identifier

Connection identifier.

oid

OID of the instance that you want to update.

attr

Name of the attribute that you want to update.

value

New value that you want to assign to the attribute.

Return Values

Returns true on success or false on failure.

Related Functions

Example of cubrid_put

Show all examples for cubrid_put

PHP Version:


Function cubrid_put:

CUBRID Functions

Most used PHP functions