gorm.DB.Where("id in (?)", IDs).Find(&us)
If my IDs is []int{1,1} and I want to return the two duplicate data,How can I do?
In my project if the IDs is []int{1,1} it only return to me one data
gorm.DB.Where("id in (?)", IDs).Find(&us)
If my IDs is []int{1,1} and I want to return the two duplicate data,How can I do?
In my project if the IDs is []int{1,1} it only return to me one data
 
    
    