Selecto.Builder.Sql.Order (Selecto v0.4.5)

Copy Markdown

ORDER BY clause builder for Selecto queries.

Supports field/function selectors, explicit sort directions with NULL handling, and CASE-based ordering expressions. Returns join dependencies, iodata SQL fragments, and bind parameters for the ordering clause.

Summary

Functions

build(selecto)

order(selecto, order_by)