foreign_keys

package
v2.9.40 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const PluginCode = "github.com/latolukasz/beeorm/plugins/foreign_keys"

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	TagName string
}

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

func Init

func Init(options *Options) *Plugin

func (*Plugin) GetCode

func (p *Plugin) GetCode() string

func (*Plugin) InterfaceInitEntitySchema

func (p *Plugin) InterfaceInitEntitySchema(schema beeorm.SettableEntitySchema, _ *beeorm.Registry) error

func (*Plugin) PluginInterfaceTableSQLSchemaDefinition

func (p *Plugin) PluginInterfaceTableSQLSchemaDefinition(engine beeorm.Engine, sqlSchema *beeorm.TableSQLSchemaDefinition) error

Jump to

Keyboard shortcuts

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