config

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShowAllConstraintsKey          = "showAllConstraints"
	UseAllTablesKey                = "useAllTables"
	SelectedTablesKey              = "selectedTables"
	SchemaKey                      = "schema"
	ConnectionStringKey            = "connectionString"
	ConnectionStringSuggestionsKey = "connectionStringSuggestions"
	OutputFileNameKey              = "outputFileName"
	EncloseWithMermaidBackticksKey = "encloseWithMermaidBackticks"
	DebugKey                       = "debug"
	OmitConstraintLabelsKey        = "omitConstraintLabels"
	OmitAttributeKeysKey           = "omitAttributeKeys"
	ShowDescriptionsKey            = "showDescriptions"
	UseAllSchemasKey               = "useAllSchemas"
	ShowSchemaPrefix               = "showSchemaPrefix"
	SchemaPrefixSeparator          = "schemaPrefixSeparator"
	RelationshipLabelsKey          = "relationshipLabels"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MermerdConfig

type MermerdConfig interface {
	ShowAllConstraints() bool
	UseAllTables() bool
	Schemas() []string
	ConnectionString() string
	OutputFileName() string
	ConnectionStringSuggestions() []string
	SelectedTables() []string
	EncloseWithMermaidBackticks() bool
	Debug() bool
	OmitConstraintLabels() bool
	OmitAttributeKeys() bool
	ShowDescriptions() []string
	UseAllSchemas() bool
	ShowSchemaPrefix() bool
	SchemaPrefixSeparator() string
	RelationshipLabels() []RelationshipLabel
}

func NewConfig

func NewConfig() MermerdConfig

type RelationshipLabel added in v0.10.0

type RelationshipLabel struct {
	PkName string
	FkName string
	Label  string
}

Jump to

Keyboard shortcuts

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