mongoplu

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ToMongo

type ToMongo struct {
	EnableTables string // 【已经弃用,使用本插件后,默认全部表都走mongo】启用的表, 多个表通过英文逗号拆分, 并且字符串前后都有英文逗号, `,table1,table2,`
}

db.Use(&ToMongo{})

func (*ToMongo) Initialize

func (plugin *ToMongo) Initialize(db *gorm.DB) (err error)

func (*ToMongo) Name

func (plugin *ToMongo) Name() string

Jump to

Keyboard shortcuts

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