sort¶
import "github.com/go-rel/rel/sort"
Overview¶
Package sort is syntatic sugar for building sort query.
Variables¶
var (
// Asc creates a query that sort the result ascending by specified field.
Asc = rel.NewSortAsc
// Desc creates a query that sort the result descending by specified field.
Desc = rel.NewSortDesc
)
Last update: 2024-12-19