converters

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLICKHOUSE_CONVERTERS = ClickHouseConverters()
View Source
var FLOAT_TYPES = []string{"Float32", "Float64"}
View Source
var INT_ALIAS = []string{"TINYINT", "BOOL", "BOOLEAN", "INT1", "SMALLINT", "INT2", "INT", "INT4", "INTEGER", "BIGINT"}
View Source
var INT_TYPES = []string{"Int8", "Int16", "Int32", "Int64"}
View Source
var NUMERIC_TYPES = NumericTypes()
View Source
var STRING_TYPES = []string{"String"}
View Source
var UINT_TYPES = []string{"UInt8", "UInt16", "UInt32", "UInt64", "UInt128", "UInt256"}
View Source
var WILDCARD_TYPES = []string{"Date", "Decimal"}

Functions

func ArrayConverters added in v0.9.3

func ArrayConverters() []sqlutil.Converter

func ArrayToCommaDelimitedString added in v0.9.3

func ArrayToCommaDelimitedString(kind string, i interface{}) sqlutil.Converter

func ClickHouseConverters

func ClickHouseConverters() []sqlutil.Converter

func NullableDate

func NullableDate() sqlutil.Converter

func NullableDecimal

func NullableDecimal() sqlutil.Converter

func NullableFloat

func NullableFloat(kind string) sqlutil.Converter

func NullableNumeric

func NullableNumeric() []sqlutil.Converter

func NullableString

func NullableString() sqlutil.Converter

func NumericTypes

func NumericTypes() []string

Types

type ArrayType added in v0.9.3

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

Jump to

Keyboard shortcuts

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