sqlchelpers

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BoolFromBoolean added in v0.34.1

func BoolFromBoolean(v bool) pgtype.Bool

func TextFromStr

func TextFromStr(str string) pgtype.Text

func TimestampFromTime

func TimestampFromTime(t time.Time) pgtype.Timestamp

func ToInt

func ToInt(i int32) pgtype.Int4

func UUIDFromStr

func UUIDFromStr(uuid string) pgtype.UUID

func UUIDToStr

func UUIDToStr(uuid pgtype.UUID) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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