CI_DB_query_builder::get_compiled_select PHP Метод

get_compiled_select() публичный Метод

Compiles a SELECT query string and returns the sql.
public get_compiled_select ( $table = '', $reset = TRUE ) : string
Результат string
    public function get_compiled_select($table = '', $reset = TRUE)
    {
        if ($table !== '') {
            $this->_track_aliases($table);
            $this->from($table);
        }
        $select = $this->_compile_select();
        if ($reset === TRUE) {
            $this->_reset_select();
        }
        return $select;
    }