db

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 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 DB

type DB pkdb.DB

func (*DB) Close

func (db *DB) Close() error

func (*DB) Config

func (db *DB) Config() any

func (*DB) SetEntity

func (db *DB) SetEntity()

type DatabaseConfig

type DatabaseConfig pkdb.DatabaseConfig

Deprecated 每个驱动分开,不然每次都要编译所有驱动

func (*DatabaseConfig) Build

func (conf *DatabaseConfig) Build() *gorm.DB

Jump to

Keyboard shortcuts

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