bundle

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SelectTableListSelectMapper       *SelectMapper
	SelectTableColumnListSelectMapper *SelectMapper
	SelectTableIndexListSelectMapper  *SelectMapper
)

Functions

func Columns

func Columns(database string) []*entity.Column

func GetCfgGenerator

func GetCfgGenerator(CFG *config.Configuration) generator.Generator

func GetEntityGenerators

func GetEntityGenerators(CFG *config.Configuration, tableMap map[string]*entity.Table) []generator.Generator

func Indexes

func Indexes(database string) []*entity.Index

func Init

func Init(dsn string)

func SetTableColumns

func SetTableColumns(tableMap map[string]*entity.Table, columnMap map[string]*[]*entity.Column)

func SetTableIndexes

func SetTableIndexes(tableMap map[string]*entity.Table, indexMap map[string]*[]*entity.Index)

func Tables

func Tables(database string, c *config.Configuration) []*entity.Table

func TransformColumns

func TransformColumns(columns []*entity.Column) map[string]*[]*entity.Column

func TransformIndexes

func TransformIndexes(indexes []*entity.Index) map[string]*[]*entity.Index

func TransformTables

func TransformTables(tables []*entity.Table) map[string]*entity.Table

Types

This section is empty.

Jump to

Keyboard shortcuts

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