Module Values.OrderByElementSource

A field and direction for ordered output.

Sourcetype nonrec t = {
  1. fieldName : OrderByElementFieldName.t;
    (*

    The field on which to order.

    *)
  2. sortOrder : OrderString.t option;
    (*

    Ordering direction.

    *)
}
Sourceval context_ : string
Sourceval make : ?sortOrder:??? -> fieldName:OrderByElementFieldName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of OrderByElementFieldName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t