sqlutil

package
v0.0.0-...-2769b41 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAndwords

func AddAndwords(sqb *sqlx.Builder, col string, val string)

func AddAndwordsEx

func AddAndwordsEx(sqb *sqlx.Builder, col string, val string, not bool)

func AddJSONFlagsContainsAll

func AddJSONFlagsContainsAll(sqb *sqlx.Builder, col string, vals []string)

func AddJSONFlagsContainsAny

func AddJSONFlagsContainsAny(sqb *sqlx.Builder, col string, vals []string)

func AddJSONInt64sContainsAll

func AddJSONInt64sContainsAll(sqb *sqlx.Builder, col string, vals []int64)

func AddJSONInt64sContainsAny

func AddJSONInt64sContainsAny(sqb *sqlx.Builder, col string, vals []int64)

func AddJSONIntsContainsAll

func AddJSONIntsContainsAll(sqb *sqlx.Builder, col string, vals []int)

func AddJSONIntsContainsAny

func AddJSONIntsContainsAny(sqb *sqlx.Builder, col string, vals []int)

func AddJSONStringsContainsAll

func AddJSONStringsContainsAll(sqb *sqlx.Builder, col string, vals []string)

func AddJSONStringsContainsAny

func AddJSONStringsContainsAny(sqb *sqlx.Builder, col string, vals []string)

func AddKeywords

func AddKeywords(sqb *sqlx.Builder, col string, val string)

func AddKeywordsEx

func AddKeywordsEx(sqb *sqlx.Builder, col string, val string, not bool)

func GetMysqlErrLogLevel

func GetMysqlErrLogLevel(err error) log.Level

func GetPgxErrLogLevel

func GetPgxErrLogLevel(err error) log.Level

func IsUniqueViolationError

func IsUniqueViolationError(err error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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