schema

package
v2.0.0-...-d0150a3 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder :

func NewBuilder

func NewBuilder() *Builder

NewBuilder :

func (*Builder) GetColumn

func (sb *Builder) GetColumn(ctx context.Context) (*sql.Column, error)

GetColumn :

func (*Builder) LookUpType

func (sb *Builder) LookUpType(t reflect.Type) (typ sqltype.Type, exists bool)

LookUpType :

func (*Builder) SetDefaultTypes

func (sb *Builder) SetDefaultTypes()

SetDefaultTypes :

func (*Builder) SetType

func (sb *Builder) SetType(it any, t sqltype.Type)

SetType :

func (*Builder) SetTypeBuilder

func (sb *Builder) SetTypeBuilder(t sqltype.Type, builder DataTypeFunc)

SetTypeBuilder :

type DataTypeFunc

type DataTypeFunc func(f reflext.FieldInfo) *sql.Column

DataTypeFunc :

Jump to

Keyboard shortcuts

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