Categorygithub.com/tiantour/db
modulepackage
1.2.2
Repository: https://github.com/tiantour/db.git
Documentation: pkg.go.dev

# README

db

sqlx wrapper for mysql

read

  1. List

    db.NewRead().List(query, args)

  2. ListNamed

    db.NewRead().ListNamed(query, args)

  3. ListStruct

  4. ListStructNamed

  5. Item

    db.NewRead().Item(query, args)

  6. ItemNamed

    db.NewRead().ItemNamed(query, args)

  7. ItemStruct

    db.NewRead().ItemStruct(dest, query, args)

  8. ItemStructNamed

    db.NewRead().ItemStructNamed(dest, query, args)

write

  1. List

    db.NewWrite().List(query, args)

  2. ListNamed

    db.NewWrite().List(query, args)

  3. Item

    db.NewWrite().Item(query, args)

  4. ItemNamed

    db.NewWrite().ItemNamed(query, args)

# Functions

No description provided by the author
NewRead new read.
NewWrite new *Write.

# Structs

Read Read.
Write write.