QueryResult constructor

const QueryResult({
  1. required List<String> columns,
  2. required List<List> rows,
  3. required int rowCount,
  4. List outputParamValues = const <dynamic>[],
  5. List<QueryResult> refCursorResults = const <QueryResult>[],
  6. List<DirectedMultiItem> additionalResults = const <DirectedMultiItem>[],
})

Creates a new QueryResult instance.

The columns list must match the order of values in each row of rows. The rowCount should equal the length of rows.

Implementation

const QueryResult({
  required this.columns,
  required this.rows,
  required this.rowCount,
  this.outputParamValues = const <dynamic>[],
  this.refCursorResults = const <QueryResult>[],
  this.additionalResults = const <DirectedMultiItem>[],
});