»

LJ::get_cluster_master

LJ::get_cluster_master — Returns a cluster master for a given user, used when the caller might use it to do a write (insert/delete/update/etc...)

Use

LJ::get_cluster_master(uarg);

Arguments

  • uarg. Either a clusterid scalar or a user object.

Source:

cgi-bin/ljlib.pl

Returns:

DB handle. Or undef if master is unavailable.