Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
roneli committed May 30, 2024
1 parent ac5d2ea commit 42970cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion execute_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func TestSelectPagination(t *testing.T) {
}
}

func TestStopOnPaginations(t *testing.T) {
func TestStopOnPagination(t *testing.T) {
ctx := context.Background()
conn, err := pgx.Connect(ctx, testPostgresURI)
require.Nil(t, err)
Expand Down
1 change: 1 addition & 0 deletions select.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func WithKeySet(columns []string, values []any) SelectOption {
for _, c := range columns {
s = s.Order(table.Col(strcase.ToSnake(c)).Asc())
}
return s
}
for i, c := range columns {
s = s.Where(table.Col(strcase.ToSnake(c)).Gt(values[i])).Order(table.Col(strcase.ToSnake(c)).Asc())
Expand Down

0 comments on commit 42970cd

Please sign in to comment.