includes/libs/rdbms/database/DBConnRef.php
DBConnRef
has 153 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class DBConnRef implements IMaintainableDatabase {
/** @var ILoadBalancer */
private $lb;
/** @var Database|null Live connection handle */
private $conn;
File DBConnRef.php
has 617 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace Wikimedia\Rdbms;
use InvalidArgumentException;
Method insertSelect
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$destTable, $srcTable, $varMap, $conds,
$fname = __METHOD__, $insertOptions = [], $selectOptions = [], $selectJoinConds = []
Method selectField
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table, $var, $cond = '', $fname = __METHOD__, $options = [], $join_conds = []
Method select
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table, $vars, $conds = '', $fname = __METHOD__,
$options = [], $join_conds = []
Method selectSQLText
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table, $vars, $conds = '', $fname = __METHOD__,
$options = [], $join_conds = []
Method selectRowCount
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$tables, $vars = '*', $conds = '', $fname = __METHOD__, $options = [], $join_conds = []
Method selectRow
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table, $vars, $conds, $fname = __METHOD__,
$options = [], $join_conds = []
Method estimateRowCount
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$tables, $vars = '*', $conds = '', $fname = __METHOD__, $options = [], $join_conds = []
Method buildSelectSubquery
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table, $vars, $conds = '', $fname = __METHOD__,
$options = [], $join_conds = []
Method selectFieldValues
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table, $var, $cond = '', $fname = __METHOD__, $options = [], $join_conds = []
Method deleteJoin
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$delTable, $joinTable, $delVar, $joinVar, $conds, $fname = __METHOD__
Method update
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public function update( $table, $set, $conds, $fname = __METHOD__, $options = [] ) {
Method upsert
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table, array $rows, $uniqueKeys, array $set, $fname = __METHOD__
Method sourceFile
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$filename,
callable $lineCallback = null,
callable $resultCallback = null,
$fname = false,
callable $inputCallback = null
Method sourceStream
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$fp,
callable $lineCallback = null,
callable $resultCallback = null,
$fname = __METHOD__,
callable $inputCallback = null
Method buildGroupConcatField
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$delim, $table, $field, $conds = '', $join_conds = []
Method lockForUpdate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$table, $conds = '', $fname = __METHOD__, $options = [], $join_conds = []