database

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegMap = map[string]Database{}

Functions

func RegDatabase

func RegDatabase(name string, database Database)

Types

type Database

type Database interface {
	LoadSchema(ctx context.Context, db gdb.DB) (model.Schema, error)
	GetSqlType(ctx context.Context, goType string, size string) string
	GetSyncSql(ctx context.Context, db gdb.DB, task model.SyncTask) ([]string, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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