postgres

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ZeroTimeUCT     = "0001-01-01 00:00:00"
	ZeroTimeUCTZone = ZeroTimeUCT + "+00:00:00"
	ZeroTimeCST     = "0001-01-01 08:05:43"
	ZeroTimeCSTZone = ZeroTimeCST + "+08:05:43"
)
View Source
const (
	NotDeletedUCT = dbi.ColumnDeletedAt + " = '" + ZeroTimeUCT + "'"
	NotDeletedCST = dbi.ColumnDeletedAt + " = '" + ZeroTimeCST + "'"
)
View Source
const (
	WithNotDeletedUCT = ` AND ` + NotDeletedUCT
	WithNotDeletedCST = ` AND ` + NotDeletedUCT
)

Variables

This section is empty.

Functions

func IsDuplicate

func IsDuplicate(err error) bool

func Now

func Now() string

Types

type IntArray

type IntArray []int

func (*IntArray) Scan

func (d *IntArray) Scan(value interface{}) error

func (IntArray) Value

func (d IntArray) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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