selectQuery method

Future<SqlResponse<List<TModel>>> selectQuery({
  1. Where where(
    1. TDef e
    )?,
  2. OrderBy<ITableDefinition> orderBy(
    1. TDef e
    )?,
  3. PostgreSQLExecutionContext? cn = null,
})

Implementation

Future<SqlResponse<List<TModel>>> selectQuery({
  Where Function(TDef e)? where,
  OrderBy Function(TDef e)? orderBy,
  PostgreSQLExecutionContext? cn = null,
}) async {
  var result = _selectQuery(runQueryToTModel, where, orderBy, cn);
  return result;
}