Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GormSQLServerConfig ¶
type GormSQLServerConfig struct {
ry.Configuration
App *ry.Application
}
func (*GormSQLServerConfig) GetAutoMigrateSQLServerDB ¶
func (g *GormSQLServerConfig) GetAutoMigrateSQLServerDB(params *GormSQLServerParameter) *GormSQLServerRepo
type GormSQLServerParameter ¶
type GormSQLServerParameter struct {
ry.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"`
}
type GormSQLServerRepo ¶
type GormSQLServerRepo struct {
ry.Repository
Db *gorm.DB
}
Click to show internal directories.
Click to hide internal directories.