The Sqlserver driver for facades.Orm() of Goravel.
goravel/sqlserver | goravel/framework |
---|---|
v1.4.* | v1.16.* |
Run the command below in your project to install the package automatically:
./artisan package:install github.com/goravel/sqlserver
Or check the setup file to install the package manually.
If you want to specify a schema
, you can add the schema
in the TableName
function of the model.
func (r *User) TableName() string {
return "goravel.users"
}
Run command below to run test:
go test ./...