MysqliDb::joinWhere PHP 메소드

joinWhere() 공개 메소드

This method allows you to specify multiple (method chaining optional) AND WHERE statements for the join table on part of the SQL query.
public joinWhere ( string $whereJoin, string $whereProp, mixed $whereValue = 'DBNULL', $operator = '=', $cond = 'AND' ) : dbWrapper
$whereJoin string The name of the table followed by its prefix.
$whereProp string The name of the database field.
$whereValue mixed The value of the database field.
리턴 dbWrapper
    public function joinWhere($whereJoin, $whereProp, $whereValue = 'DBNULL', $operator = '=', $cond = 'AND')
    {
        $this->_joinAnd[$whereJoin][] = array($cond, $whereProp, $operator, $whereValue);
        return $this;
    }