Closed kolkov closed 7 years ago
dbx.In("column", values...)
?
And how to use this? Provide some examples please...
See https://github.com/go-ozzo/ozzo-dbx#read Replace dbx.HashExp with dbx.In
Like this?
statuses := []interface{}{"read", "unread"}
.Where(dbx.In("status", statuses...))
right?
yes
Hi! How to use
dbx.In()
expression when data arrives in the slice like this:[]string{"read", "unread"}