/** * Select Mode Parser. */ private function parseSelectQuery() { // Parse select ? $selectSql = Column::generateQueryString($this->query->select); // Parse table $fromSql = Table::generateQueryString($this->query->table); $whereSql = null; $whereBind = array(); $sql = ['select' => $selectSql, 'from' => $fromSql, 'where' => $whereSql]; $this->bind = array_merge($this->bind, $whereBind); $this->sql = $this->combineSelectQuery($sql); }