This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Description
I write example code
sql, args, err1 := builder.Dialect(builder.MYSQL).
Insert(builder.Eq{"issue_id": 1, "username": "vit1251", "body": "Hello"}).Into("comment").
ToSQL()
log.Printf("sql = %v", sql)
log.Printf("args = %v", args)
log.Printf("err1 = %v", err1)
my output is
sql = INSERT INTO comment (body,issue_id,username) Values (?,?,?)
args = [1 Hello vit1251]
err1 = <nil>
As you can see insert order is changes and as result have wrong mapping on insert.