-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
type:questiongeneral questionsgeneral questions
Description
Your Question
I tried to use .Unscoped() with generics API, but db not updates. Rewrote with classic API and everything works fine.
Here are changes that fixed my problem in code:
The document you expected this should be explained
https://gorm.io/docs/the_generics_way.html
https://gorm.io/docs/update.html
Expected answer
Is it expected behavior, and Unscoped() does not work with generics, or is it a bug? If I missing something from docs, please point me, I did not find any info about this case.
Metadata
Metadata
Assignees
Labels
type:questiongeneral questionsgeneral questions