cubrid_lock_write
Set a write lock on the given OID
&reftitle.description;
boolcubrid_lock_write
resourceconn_identifier
stringoid
The cubrid_lock_write function is used to put write
lock on the instance pointed by the given oid.
&reftitle.parameters;
conn_identifier
Connection identifier.
oid
OID of the instance that you want to put write lock on.
&reftitle.returnvalues;
&true;, when process is successful.
&false;, when process is unsuccessful.
&reftitle.examples;
cubrid_lock_write example
]]>
&example.outputs;
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
}
array(3) {
[0]=>
string(1) "2"
[1]=>
string(1) "4"
[2]=>
string(1) "8"
}
]]>
&reftitle.seealso;
cubrid_lock_read