sqltypes

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 5 Imported by: 0

README

sqltypes

Go Reference

SQL advanced types.

Install

go get github.com/altipla-consulting/sqltypes

Contributing

You can make pull requests or create issues in GitHub. Any code you send should be formatted using make gofmt.

License

MIT License

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotExist = errors.New("sqltypes: not exist")

Functions

This section is empty.

Types

type Array

type Array[T any] []T

func (*Array[T]) Scan

func (arr *Array[T]) Scan(value interface{}) error

func (Array[T]) Unwrap

func (arr Array[T]) Unwrap() []T

func (Array[T]) Value

func (arr Array[T]) Value() (driver.Value, error)

type Timestamp

type Timestamp time.Time

func (*Timestamp) Scan

func (t *Timestamp) Scan(value interface{}) error

func (Timestamp) Time

func (t Timestamp) Time() time.Time

func (Timestamp) Value

func (t Timestamp) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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