I am diging data from the Firebird database using quite complex SQL select command.

Now I am using self._connection.queryAll(sql) method, but I would like to obtain data including the headers (column names) on the first row as well.
Does somebody here know how to force SO to return data and headers? Please note, headers are obtaining their names in the SQL Select command using: "select my_data AS foo from...".


Petr Jakes