selectQuery1Col<TType1, TType2> method

Future<SqlResponse<List<TType1>>> selectQuery1Col<TType1, TType2>(
  1. Column<TType1, TModel> col1(
    1. TDef e
    ), {
  2. Where where(
    1. TDef e
    )?,
  3. OrderBy<ITableDefinition> orderBy(
    1. TDef e
    )?,
})

Implementation

Future<SqlResponse<List<TType1>>> selectQuery1Col<TType1, TType2>(
  Column<TType1, TModel> Function(TDef e) col1, {
  Where Function(TDef e)? where,
  OrderBy Function(TDef e)? orderBy,
}) async {
  var result = _selectQuery((x) => runQueryToReturnType(x, getRowCustom1<TType1>), where, orderBy, col1);
  return result;
}