We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gorm有现成的函数方法 可以方便的查看orm对应的sql语句么?
db.Model(&MainTask{}).Where("task_id in ?", task_ids).Update(MainTask{TaskStatus: task_status, UpdatedAt: time.Now()})
The text was updated successfully, but these errors were encountered:
Try the Debug.
Debug
// Debug a single operation, show detailed log for this operation db.Debug().Where("name = ?", "jinzhu").First(&User{})
Logger Doc
Sorry, something went wrong.
@dinglixiang yes, thank U.
db.LogMode(true)
No branches or pull requests
gorm有现成的函数方法 可以方便的查看orm对应的sql语句么?
The text was updated successfully, but these errors were encountered: