Your Question
What happens if in the query, there are too many parameters within the IN clause that exceed the DBMS limit?
For example:
db.Where("name IN ?", []string{"jinzhu", "jinzhu 2", ...}).Find(&users)
In my use case, the number of elements in the IN clause is technically arbitrary since it is determined by user input. Was wondering what would GORM do behind the scenes if this ended up being more than what the underlying DBMS could support?