orm

package
v0.0.0-...-2ef61a0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config interface {
	/*
	   FormatDSN formats the given Config into a DSN string which can be passed to the dirver.

	   DSN: [username[:password]@][protocol[(address)]]/dbname[?param1=value1&...&paramN=valueN]
	*/
	FormatDSN() string
	DriverName() string
	ORM() string
}

type OrmSolu

type OrmSolu interface {
	Boot(Config) error
	Engine() interface{}
}
var DefaultSolu OrmSolu = &defaultOrmSolu{}

func NewOrmSolu

func NewOrmSolu(conf Config) (OrmSolu, error)

Jump to

Keyboard shortcuts

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