hints
hints copied to clipboard
Gorm Hint not work with CREATE func.
GORM Playground Link
https://github.com/go-gorm/playground/pull/1
Description
# tx *gorm.DB
tx.Table(deviceTableName).Clauses(hints.CommentBefore("insert", "...")).Create(&ins).Error
The log output does not show me the comment before insert query, while the others like UPDATES or FIRST is still alright with the comments.
I am using gorm.io/gorm v1.25.12 and gorm.io/hints v1.1.2.
Please check this case for me. Thank a lot.