PgRest.AST.OrderTerm (PgRest v0.2.0)

Copy Markdown View Source

One order= term: field.desc.nullsfirst, or rel(field).asc which orders by a column of the to-one embed rel.

Summary

Types

t()

@type t() :: %PgRest.AST.OrderTerm{
  dir: :asc | :desc,
  field: PgRest.AST.Field.t(),
  nulls: :first | :last | nil,
  relation: String.t() | nil
}