ActiveRecord\Table::get_meta_data PHP Method

get_meta_data() private method

private get_meta_data ( )
    private function get_meta_data()
    {
        // as more adapters are added probably want to do this a better way
        // than using instanceof but gud enuff for now
        $quote_name = !$this->conn instanceof PgsqlAdapter;
        $table_name = $this->get_fully_qualified_table_name($quote_name);
        $conn = $this->conn;
        $this->columns = Cache::get("get_meta_data-{$table_name}", function () use($conn, $table_name) {
            return $conn->columns($table_name);
        });
    }