Skip to content

Commit

Permalink
fix: value type
Browse files Browse the repository at this point in the history
  • Loading branch information
mul14 committed Oct 17, 2024
1 parent 0a51aff commit 94b93ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/db/where.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func (q *Query) Is(column string, value any) *Query {
return q
}

func (q *Query) NotIs(column string, value string) *Query {
func (q *Query) NotIs(column string, value any) *Query {

if !isValueWhitelist(value) {
panic("isValueWhitelist: only \"true\", \"false\", \"null\", or \"unknown\" are allowed")

Check warning on line 427 in pkg/db/where.go

View check run for this annotation

Codecov / codecov/patch

pkg/db/where.go#L427

Added line #L427 was not covered by tests
Expand Down

0 comments on commit 94b93ed

Please sign in to comment.