rule

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMongoToSrRule

func NewMongoToSrRule(rules []*MongoToSrRule) []string

func NewMysqlToSrRule

func NewMysqlToSrRule(rules []*MysqlToSrRule) []string

Types

type MongoToSrRule

type MongoToSrRule struct {
	SourceSchema string `toml:"source-schema"`
	SourceTable  string `toml:"source-table"`
	TargetSchema string `toml:"target-schema"`
	TargetTable  string `toml:"target-table"`
}

func (*MongoToSrRule) TargetString

func (mts *MongoToSrRule) TargetString() string

type MysqlToSrRule

type MysqlToSrRule struct {
	SourceSchema string `toml:"source-schema"`
	SourceTable  string `toml:"source-table"`
	TargetSchema string `toml:"target-schema"`
	TargetTable  string `toml:"target-table"`
}

func (*MysqlToSrRule) TargetString

func (mts *MysqlToSrRule) TargetString() string

Jump to

Keyboard shortcuts

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