Cubrid Fonctions
PHP Manual

cubrid_lock_read

(PECL CUBRID >= 8.3.0)

cubrid_lock_readIs used to put read lock

Description

int cubrid_lock_read ( resource $conn_identifier , string $oid )

The cubrid_lock_read() function is used to put read lock on the instance pointed by given oid.

Liste de paramètres

conn_identifier

Connection identifier.

oid

Oid of the instance that you want to put read lock on.

Valeurs de retour

TRUE, when process is successful.

FALSE, when process is unsuccessful.

Exemples

Exemple #1 cubrid_lock_read() example

<?php
$lock_oid 
cubrid_get ($con$oid"next_id");
$res cubrid_lock_read ($con$lock_oid);
?>

Voir aussi


Cubrid Fonctions
PHP Manual