src-d/go-kallax

kallax where in condition

maheshjadav opened this issue · 0 comments

HI

I used this
Where(kallax.In(models.Schema.Smsgateway.Branch,id))
where my id is id="1,2,3"

but it is not working

instead of if i used this

Where(kallax.In(models.Schema.Smsgateway.Branch,1,6,8))

it will work.. but i want to use id value instead of static value.. how can i do that