LJ::_mod_rel_multi

LJ::_mod_rel_multi — Sets/Clears relationship edges for lists of user tuples.

Use

LJ::_mod_rel_multi(keys, edges);

Arguments

  • keys. keys: mode => {clear|set}.

  • edges. edges => array of arrayrefs of edges to set: [userid, targetid, type] Where: userid: source userid, or a user hash; targetid: target userid, or a user hash; type: type of the relationship.

Source:

cgi-bin/ljrelation.pl

Returns:

1 if all updates succeeded, otherwise undef