cherryORM

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ORMComponent

type ORMComponent struct {
	cherryInterfaces.BaseComponent
	// contains filtered or unexported fields
}

func NewORM

func NewORM() *ORMComponent

func (*ORMComponent) DBWithGroupId

func (s *ORMComponent) DBWithGroupId(groupId string) map[string]*gorm.DB

func (*ORMComponent) GetDb

func (s *ORMComponent) GetDb(id string) *gorm.DB

func (*ORMComponent) Init

func (s *ORMComponent) Init()

func (*ORMComponent) Name

func (s *ORMComponent) Name() string

Jump to

Keyboard shortcuts

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