tables

package
v4.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdvancedTableColumns

func AdvancedTableColumns() []string

func AdvancedTableName

func AdvancedTableName() string

func CreateAdvancedTableNative

func CreateAdvancedTableNative(ctx context.Context, conn driver.Conn) error

func CreateTableNative

func CreateTableNative(ctx context.Context, conn driver.Conn) error

func CreateTableSQL

func CreateTableSQL(ctx context.Context, conn *sql.DB) error

func ExampleTableColumns

func ExampleTableColumns() []string

func ExampleTableName

func ExampleTableName() string

Types

type AdvancedTable

type AdvancedTable struct {
	Col1 uint8
	Col2 string
	Col3 string
	Col4 uuid.UUID
	// Map type is not allowed. Set 'allow_experimental_map_type = 1'
	// Col5 map[string]uint8
	Col6  []string
	Col7  []interface{}
	Col8  time.Time
	Col9  string
	Col10 time.Time
	Col11 int8
	Col12 time.Time
	Col13 [][]interface{}
}

func (*AdvancedTable) Row

func (a *AdvancedTable) Row() cx.Vector

type ExampleTable

type ExampleTable struct {
	ID       int32
	UUID     string
	InsertTS time.Time
}

func (*ExampleTable) Row

func (t *ExampleTable) Row() cx.Vector

Jump to

Keyboard shortcuts

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