Updates for MS SQL support
This commit is contained in:
parent
5bc7addb8a
commit
79f6c344c1
1 changed files with 13 additions and 0 deletions
13
README.md
13
README.md
|
@ -106,9 +106,12 @@ Table of Contents
|
|||
|
||||
- PostgreSQL
|
||||
- MySQL
|
||||
- Microsoft SQL Server
|
||||
|
||||
*Note: Seeking contributors for other database engines.*
|
||||
|
||||
*Microsoft SQL Server: Limit with offset support only for SQL Server 2012 and above.*
|
||||
|
||||
### A Small Taste
|
||||
|
||||
For a comprehensive list of available operations and examples please see [Features & Examples](#features--examples).
|
||||
|
@ -273,6 +276,13 @@ schema="myschema"
|
|||
user="dbusername"
|
||||
pass="dbpassword"
|
||||
sslmode="false"
|
||||
[mssql]
|
||||
dbname="dbname"
|
||||
host="localhost"
|
||||
port=1433
|
||||
user="dbusername"
|
||||
pass="dbpassword"
|
||||
sslmode="disable"
|
||||
```
|
||||
|
||||
#### Initial Generation
|
||||
|
@ -319,6 +329,9 @@ sqlboiler -b goose_migrations postgres
|
|||
go test ./models
|
||||
```
|
||||
|
||||
*Note: No `mysqldump` or `pg_dump` equivalent for Microsoft SQL Server, so generated tests must be supplemented by `tables_schema.sql` with `CREATE TABLE ...` queries*
|
||||
|
||||
|
||||
You can use `go generate` for SQLBoiler if you want to to make it easy to
|
||||
run the command.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue