sqltypes

package
v0.386.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration time.Duration

func (*Duration) Scan

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

func (Duration) Value

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

type OptionalTime added in v0.370.0

type OptionalTime = optional.Option[time.Time]

type Type added in v0.361.0

type Type struct {
	schema.Type
}

Type is a database adapter type for schema.Type.

It encodes to/from the protobuf representation of a Type.

func (*Type) Scan added in v0.361.0

func (t *Type) Scan(src interface{}) error

func (Type) Value added in v0.361.0

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

Jump to

Keyboard shortcuts

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