selectQueryBy<TType1, TType2> method
Future<SqlResponse<List<TType1> > >
selectQueryBy<TType1, TType2>(
- Column<
TType1, TModel> col1(- TDef e
- Column<
TType2, TModel> col2(- TDef e
- Where where(
- TDef e
- OrderBy<
ITableDefinition> orderBy(- TDef e
- PostgreSQLExecutionContext? cn,
Implementation
Future<SqlResponse<List<TType1>>> selectQueryBy<TType1, TType2>(
Column<TType1, TModel> Function(TDef e) col1,
Column<TType2, TModel> Function(TDef e) col2, {
Where Function(TDef e)? where,
OrderBy Function(TDef e)? orderBy,
PostgreSQLExecutionContext? cn,
}) async {
var result = _selectQuery(
(x, conn) => runQueryToReturnType(x, getRowCustom1<TType1>, conn),
where,
orderBy,
cn,
col1,
col2,
);
return result;
}