Skip to content

Commit

Permalink
Add order to queries
Browse files Browse the repository at this point in the history
  • Loading branch information
linkous8 committed Aug 7, 2023
1 parent 7e1c1d1 commit e4b863d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/optimize/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ FETCH events(
{attributes, timestamp}
{{ with .Limits }}LIMITS events.count({{ . }})
{{ end -}}
ORDER events.asc()
`))

func listEvents(flags *eventsCmdFlags) func(*cobra.Command, []string) error {
Expand Down Expand Up @@ -335,6 +336,7 @@ FETCH events(
{attributes, timestamp}
{{ with .Limits }}LIMITS events.count({{ . }})
{{ end -}}
ORDER events.asc()
`))

func listRecommendations(flags *recommendationsCmdFlags) func(*cobra.Command, []string) error {
Expand Down

0 comments on commit e4b863d

Please sign in to comment.