OrderTerm.asc constructor

OrderTerm.asc(
  1. TetherColumn column, {
  2. bool nullsFirst = false,
})

Creates an ascending order term.

  • column - The column to order by
  • nullsFirst - Whether NULL values should appear first (default: false)

Implementation

factory OrderTerm.asc(TetherColumn column, {bool nullsFirst = false}) {
  return OrderTerm(column, ascending: true, nullsFirst: nullsFirst);
}