/** * 发起一个查询,获得一个 QDB_Select 查询对象 * * @return QDB_Select */ function select() { if (!$this->_inited) { $this->init(); } $select = new QDB_Select($this->_conn); $select->from($this); $args = func_get_args(); if (!empty($args)) { call_user_func_array(array($select, 'where'), $args); } return $select; }