We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e432f2 commit 4f5cf09Copy full SHA for 4f5cf09
1 file changed
docs/database.md
@@ -25,7 +25,7 @@ if err != nil{
25
}
26
//use tx.From to get a dataset that will execute within this transaction
27
update := tx.From("user").
28
- Where(goqu.Ex("password": nil}).
+ Where(goqu.Ex{"password": nil}).
29
Update(goqu.Record{"status": "inactive"})
30
if _, err = update.Exec(); err != nil{
31
if rErr := tx.Rollback(); rErr != nil{
@@ -56,7 +56,7 @@ if err != nil{
56
57
err = tx.Wrap(func() error{
58
59
60
61
return update.Exec()
62
})
0 commit comments