tx

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustExec

func MustExec(tx *sql.Tx, stmt string, args ...interface{})

func MustExecf

func MustExecf(tx *sql.Tx, format string, args ...interface{})

func MustQuery

func MustQuery(tx *sql.Tx, stmt string, args ...interface{}) *sql.Rows

func MustQueryAtLeastOne

func MustQueryAtLeastOne(tx *sql.Tx, stmt string, args ...interface{}) *sql.Rows

MustQueryAtLeastOne ensures that the Query executed and that calls Next If any operation fails it immediately panics

Types

This section is empty.

Jump to

Keyboard shortcuts

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