sql

package
v0.0.0-...-b45a7ae Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	SubName string
	Type    string
}

type FieldDriver

type FieldDriver struct {
	IsJoin    bool
	RawFields []Column

	ValueToRawValues     func(storage StorageContext, value interface{}) (columnValues []interface{}, err error)
	FromRawValuesToValue func(storage StorageContext, rawValues []interface{}) (interface{}, error)

	ProduceZeroValues func() []interface{}

	Type reflect.Type

	Inner *FieldDriver
}

type FieldSpec

type FieldSpec interface {
	ProduceSQLDriver(dialect dialect.Dialect) (FieldDriver, error)
}

type StorageContext

type StorageContext interface {
	GetFileStorage(name string) filestorage.FileStorage
}

TODO: think about this,..

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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