Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 735 Bytes

File metadata and controls

38 lines (25 loc) · 735 Bytes

Sqlserver

The Sqlserver driver for facades.Orm() of Goravel.

Version

goravel/sqlserver goravel/framework
v1.17.x v1.17.x
v1.4.* v1.16.*

Install

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.

Schema

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"
}

Testing

Run command below to run test:

go test ./...