-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no query.NotIn(...interface{}) ? #48
Comments
Currently there isn't one. You could accomplish the same with with a bolthold.Where("Name").MatchFunc(func(ra *bolthold.RecordAccess) (bool, error) {
field := ra.Field()
val, ok := field.(string)
if !ok {
return false, fmt.Errorf("Field not a string, it's a %T!", field)
}
return val != "one" && val != "two" && val != "three"
}), |
Don t you think it deserves to be part of the standard querier API ? |
Not necessarily, no. I'd prefer to have a more general |
You can now do |
hi,
i cant find the
NotIn
verb in the query implementation. Am i missing something obvious ?The text was updated successfully, but these errors were encountered: