readColumn method

dynamic readColumn(
  1. String columnName, {
  2. Convert convert = Convert.DynamicType,
})

Reads column columnName.

By default it returns a dynamically typed value. If convert is set to Convert.StaticType the value is converted to the static type computed for the column by the query compiler.

Implementation

dynamic readColumn(String columnName,
    {Convert convert = Convert.DynamicType}) {
  return readColumnByIndex(_columnIndices[columnName]!, convert: convert);
}