public function setDB(DBAdapter $v)
    {
        $this->db = $v;
        foreach ($this->clauses as $clause) {
            $clause->setDB($v);
        }
    }
public function setDB(DBAdapter $v)
    {
        $this->db = $v;
        foreach ($this->clauses as $clause) {
            $clause->setDB($v);
        }
    }
public function setDB ( DBAdapter $ v ) { $ this -> db = $ v ; foreach ( $ this -> clauses as $ clause ) { $ clause -> setDB ( $ v ) ; } }
Set the value of db.
The DBAdapter might be used to get db specific variations of sql.

@param DBAdapter $v Value to assign to db.

@return void
Set the value of db . The DBAdapter might be used to get db specific variations of sql .