database

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Conn

func Conn() *sql.Conn

func Tx

func Tx(f func(tx *sql.Tx) error) error

func TxExec

func TxExec(query string, args ...any) error

Types

type TxQueryFunc

type TxQueryFunc func(func(*sql.Rows) error) error

func TxQuery

func TxQuery(query string, args ...any) TxQueryFunc

type TxQueryRowFunc

type TxQueryRowFunc func(func(*sql.Row) error) error

func TxQueryRow

func TxQueryRow(query string, args ...any) TxQueryRowFunc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL