OrderSelectAs returns an option to set and select the alias for the ordering.
(as string)
| 325 | |
| 326 | // OrderSelectAs returns an option to set and select the alias for the ordering. |
| 327 | func OrderSelectAs(as string) OrderTermOption { |
| 328 | return func(o *OrderTermOptions) { |
| 329 | o.As = as |
| 330 | o.Selected = true |
| 331 | } |
| 332 | } |
| 333 | |
| 334 | // OrderNullsFirst returns an option to sort nulls first. |
| 335 | func OrderNullsFirst() OrderTermOption { |
no outgoing calls
searching dependent graphs…