Is there a way to use not equal to operator (!= OR <>
) in Beego orm? i don't want to use the WHERE IN
condition because it means that i have to make a query to another table first. is there a way to do this?
Thanks
This answer is for someone that might misunderstood the Exclude()
method in Beego Docs as i did. This does not specific return a NOT IN
condition it can also be use as not equal to
operator (!=
OR <>
).