indexing
     status: "See notice at end of class"
     date: "$Date$"
     revision: "$Revision$"
     access: sql, structure
     product: eiffelstore
     database: rdbms

deferred class interface
     DB_DATA_SQL

feature -- Status report

     column_name (index: INTEGER): STRING
                 -- Name of the index-th column

     count: INTEGER
                 -- Number of columns in result

     item (index: INTEGER): ANY
                 -- Data at index-th column

     map_table: ARRAY [INTEGER]
                 -- Correspondance table between column
                 -- rank and attribute rank in mapped object

     metadata_to_update: BOOLEAN
                 -- Should cursor update the metadata to fill in database
                 -- values properly?
                 -- (from DB_DATA)
     
feature -- Status setting

     fill_in (no_descriptor: INTEGER)
                 -- Fill in attributes of Current with results obtained
                 -- from server after execution of query statement.

     update_map_table (object: ANY)
                 -- Update map table according to field names of object.

     update_metadata
                 -- Cursor must update database metadata to
                 -- fill in properly.
                 -- (from DB_DATA)
     
invariant

           -- from ANY
     reflexive_equality: standard_is_equal (Current)
     reflexive_conformance: conforms_to (Current)

end -- class DB_DATA_SQL