This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Support for Microsoft SQL Server * We cannot have database as a qualifier in MSSQL * We need a different transaction cmd for MS * Transactions for MSSQL * Better naming for sql family string representation * Consider autogenerated defaults on MERGE The rules on `INSERT IGNORE INTO` emulation with MERGE are now: 1. If having uniques in the table, see if we have them in the parameters 2. If yes, join the `DUAL` table with the value 3. If no, do we have a default value? 4. If no, panic. 5. If yes and the value is a static value, join with this 6. If yes and the value is autogenerated, do not join with this column 7. If having a compound index and one of the values is autogen, skip the whole index from the join, we expect now every autogenerated value is unique * Fix sql server checks in connection info * Single should contain mssql * Add `Send` boundary to the NextBytes trait object * Use `matches` for less lines of code * Check the character set for certain mysql types * Allow inserting to a column with default value * Test compound uniques with default
- Loading branch information
Julius de Bruijn
authored
Jun 16, 2020
1 parent
c2b2b4a
commit 91d2dc2
Showing
51 changed files
with
5,993 additions
and
1,115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export TEST_MYSQL=mysql://root:prisma@localhost:3306/prisma | ||
export TEST_PSQL=postgres://postgres:prisma@localhost:5432/postgres | ||
export TEST_MSSQL="sqlserver://localhost:1433;database=master;user=SA;password=<YourStrong@Passw0rd>;trustServerCertificate=true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.