Gorm Hint not work with CREATE func.
Open
- Dominant language
- Go
- Stars
- 44
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
## 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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.