Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 559 Bytes

File metadata and controls

31 lines (20 loc) · 559 Bytes

Sqlserver

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

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 ./...