orderBy method

Query orderBy(
  1. List<String> columnName
)

[ table1.id DESC , table2.id ASC ]

Implementation

Query orderBy(List<String> columnName) {
  final order = columnName.toString().replaceAll('[', '').replaceAll(']', '');
  _orderBy += ' ORDER BY $order ';
  return this;
}