schema

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 License: MIT Imports: 15 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(info driver.Info, sf reflext.StructFielder) (columns.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 interface{}, t sqltype.Type)

SetType :

func (*Builder) SetTypeBuilder

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

SetTypeBuilder :

type DataTypeFunc

type DataTypeFunc func(sf reflext.StructFielder) columns.Column

DataTypeFunc :

type DataTyper

type DataTyper interface {
	DataType(info driver.Info, sf reflext.StructFielder) columns.Column
}

DataTyper :

Jump to

Keyboard shortcuts

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