Skip to content
/ sqlex Public
generated from clevergo/pkg-template

SQLEX is extensions for database/sql and jmoiron/sqlx.

License

Notifications You must be signed in to change notification settings

clevergo/sqlex

Repository files navigation

SQLEX

Build Status Coverage Status Go.Dev reference Go Report Card Release

SQLEX is extensions for database/sql and jmoiron/sqlx.

Transaction

sqlex.Transact(db, func(tx *sql.Tx) error {
    return nil
})

sqlex.TransactContext(ctx, txOpts, db, func(tx *sql.Tx) error {
    return nil
})

sqlex.Transactx(db, func(tx *sqlx.Tx) error {
    return nil
})

sqlex.TransactContext(ctx, txOpts, db, func(tx *sqlx.Tx) error {
    return nil
})

About

SQLEX is extensions for database/sql and jmoiron/sqlx.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages