gocraft/dbr

Insert multiple rows in transaction with id BIGSERIAL

vladivolo opened this issue · 0 comments

tx, err := sess.Begin()

_, err := tx.InsertInto("dbr_people").Columns("id", "name", "email").Values(???, "Barack", "obama@whitehouse.gov").Exec()
_, err := tx.InsertInto("dbr_people").Columns("id", "name", "email").Values(???, "Putin", "putin@kremlinhouse.gov").Exec()

how to get the following value for the field id ???