mssql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 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 GormSQLServer

type GormSQLServer struct {
	rady.Database
	*gorm.DB
}

type GormSQLServerConfig

type GormSQLServerConfig struct {
	rady.Configuration
	App *rady.Application
}

func (*GormSQLServerConfig) GetAutoMigrateSQLServerDB

func (g *GormSQLServerConfig) GetAutoMigrateSQLServerDB(params *GormSQLServerParameter) *GormSQLServer

type GormSQLServerParameter

type GormSQLServerParameter struct {
	rady.Parameter
	Host     *string `value:"rady.mssql.host" default:"127.0.0.1"`
	Port     *string `value:"rady.mssql.port" default:"1433"`
	Database *string `value:"rady.mssql.database"`
	Username *string `value:"rady.mssql.username"`
	Password *string `value:"rady.mssql.password"`
}

Jump to

Keyboard shortcuts

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