# Functions
Column return the mapped column mapping name in entity type of v and specified Go struct field name.
Columns return all found column mappings in entity type of v.
No description provided by the author
ExecTx uses annonymous execution function to achieve crash-safe and implicit transaction commission effect Usage example
err := ExecTx(context.Background(), s.Db, &sql.TxOptions{}, func(ctx context.Context, accessor *Accessor) error {
var p struct {
FirstName string `db:"first_name"`
LastName string `db:"last_name"`
Email string `db:"email"`
AddedAt time.Time `db:"added_at"`
}
err := accessor.Get(context.Background(), &p, "select * from person where first_name=? and last_name=?",
"foo", "test")
return nil
})
*/.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author