LockRow — Définit le verrouillage/autorisation pour une ligne dans une table.
integer LockRow(text a_schema_name, text a_table_name, text a_row_key, text an_auth_token, timestamp expire_dt);
integer LockRow(text a_table_name, text a_row_key, text an_auth_token, timestamp expire_dt);
integer LockRow(text a_table_name, text a_row_key, text an_auth_token);
Définit le verrouillage/autorisation pour une ligne spécifique dans une table. an_auth_token est une valeur texte. expire_dt est un timestamp qui a pour valeur par défaut now() + 1 heure. Renvoie 1 si le verrou a été attribué, 0 sinon (c'est-à-dire que la rangée est déjà verrouillée par une autre auth.)
Disponibilité : 1.1.3