Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from palavrapasse/16-feat-include-sql-sort-ord…
Browse files Browse the repository at this point in the history
…er-keywords

feat: include keywords for ascending and descending sort order
  • Loading branch information
freitzzz authored Jan 11, 2023
2 parents 2890767 + 339918b commit 0b9fe25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/database/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ const (
prepareStatementMultipleFieldsSeparator = ", "
)

const (
AscendingSortOrderKeyword = "ASC"
DescendingSortOrderKeyword = "DESC"
)

type Table[R Record] interface {
Name() string
Records() []R
Expand Down

0 comments on commit 0b9fe25

Please sign in to comment.