package AdaBase.Results.Field is
   type Std_Field is tagged private;
end AdaBase.Results.Field;

package AdaBase.Results.Sets is
   type Datarow is tagged limited private;
end AdaBase.Results.Sets;

AdaBase.Results.Field.Std_Field function
AdaBase.Results.Sets.Datarow.column (index : Positive)

A Datarow object contains two variations of a column function. The first accepts an index ranging from 1 to the number of columns in the result set, and the second implements an associative array using the name of the column as its hash. The function returns a Std_Field which can present the field data in up to 20 different ways.


AdaBase.Results.Field.Std_Field function
AdaBase.Results.Sets.Datarow.column (heading : String)

This the second variation that accepts a heading String instead of a positive integer where the heading must be equal to one of the column names.


See stmt fetch next row for a usage example.

See Also