Skip to content

Commit

Permalink
DOC: fix InsertStmt adds data from struct example (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
hasunpark authored Sep 25, 2023
1 parent 26995ef commit d1d89a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ sugg := &Suggestion{
sess := mysqlSession
sess.InsertInto("suggestions").
Columns("title").
Record(&sugg).
Record(sugg).
Exec()

// id is set automatically
Expand Down

0 comments on commit d1d89a2

Please sign in to comment.