functions

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NanosPerMicro = 1000
	NanosPerMilli = NanosPerMicro * duration.MicrosPerMilli
	NanosPerSec   = NanosPerMicro * duration.MicrosPerMilli * duration.MillisPerSec
)

Variables

View Source
var ErrUnitNotSupported = errors.NewKind("unit \"%s\" not supported for type %s")

Functions

func GetCurrentSchemas added in v0.11.1

func GetCurrentSchemas(ctx *sql.Context) ([]string, error)

GetCurrentSchemas returns all the schemas in the search_path setting, with elements like "$user" excluded

func GetIntervalDurationFromTimeComponents added in v0.11.0

func GetIntervalDurationFromTimeComponents(years, months, days, hours, minutes, seconds, nanos int64) duration.Duration

func Init added in v0.7.0

func Init()

Init initializes all functions in this package.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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