How to use like/ilike in Find() with conditions? #6705
Unanswered
victorparra96
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used this:
db.Offset(skip).Limit(limit).Find(&users, payload)
Payload is a struct, but Find function build the query with equals(=). I want build query with like, example:
Select * from users where id = 1 and name ilke %test%
Exists anything way to use Find functions with conds and use like in the query?
Beta Was this translation helpful? Give feedback.
All reactions