»

LJ::get_dbirole_dbh

LJ::get_dbirole_dbh — Internal function for get_dbh(). Uses the DBIRole to fetch a dbh, with hooks into db stats-generation if that's turned on.

Use

LJ::get_dbirole_dbh(opts, role);

Arguments

  • opts. A hashref of options.

  • role. The database role.

Source:

cgi-bin/ljlib.pl

Returns:

A dbh.