Skip to content

interactive transactions: update concept and tx guide with a better example - #2227

Merged
matthewmueller merged 16 commits into
mainfrom
interactive-transactions
Sep 1, 2021
Merged

matthewmueller merged 16 commits into
mainfrom
interactive-transactions

Conversation

@matthewmueller

@matthewmueller matthewmueller commented Aug 30, 2021 •

Copy link
Copy Markdown
Contributor

This is part 1 of 2 for providing a better example for interactive transactions. Here's what's changed:

Technically these examples should show concurrent requests since that's the point of transactions, but we're waiting on prisma/orm#8707. After that it's just a matter of changing the transfers from sync to async. This will be part 2 of 2.


The problem with the current example is that for concurrent requests the findFirst's happen async and the updates happen sync. This means that the findFirst's both see an untaken seat and the updates will both book that seat. Double-booking problem all over again. There are two solutions to this:

  1. SELECT FOR UPDATE orm#8580: where you explicitly say, lock this row because we're going to update it soon.
  2. Interactive transactions: Allow setting isolation level orm#8668: where you set the isolation level to a higher level.

But we don't plan to solve these just yet.

@matthewmueller
matthewmueller requested a review from molebox August 30, 2021 20:39

@thebiglabasky thebiglabasky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made a couple of comments but that'd be better if @molebox can have a second look

@molebox molebox left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, I agree with @thebiglabasky comments and added a few small notes.
so-close

matthewmueller and others added 15 commits September 1, 2021 11:18
…-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>
…-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>
…-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>
…-client-transactions-guide.mdx

Co-authored-by: Rich Haines <[email protected]>
@matthewmueller

Copy link
Copy Markdown
Contributor Author

Those "commit suggestion" buttons sure are handy. Thanks fellas!

@matthewmueller
matthewmueller merged commit b09ac1d into main Sep 1, 2021
@matthewmueller
matthewmueller deleted the interactive-transactions branch September 1, 2021 20:24
molebox added a commit that referenced this pull request Sep 2, 2021
* Update 060-full-text-search.mdx (#2218)

* Update 060-full-text-search.mdx

Unfortunately pipes can't be escaped in our docs markdown parser right now.

* Fixed code in md table with pipe

Co-authored-by: Rich Haines <[email protected]>

* Small fixes in self relation docs (#2221)

- Fix a minor heading level inconsistency 
- Fix an issue with incorrect code highlighting

* fix(codemods): Fix title (#2224)

* fix(deps): update dependency @prisma/lens to v0.0.222

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* interactive transactions: update concept and tx guide with a better example (#2227)

* interactive transactions: update concept and tx guide with a better example

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Rich Haines <[email protected]>

* add spacing between header

Co-authored-by: Hervé Labas <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Rich Haines <[email protected]>

* Add to existing project sql server guide

* Feedback changes

Co-authored-by: Matthew Mueller <[email protected]>
Co-authored-by: Tasin Ishmam <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Hervé Labas <[email protected]>
molebox added a commit that referenced this pull request Sep 3, 2021
* Update 060-full-text-search.mdx (#2218)

* Update 060-full-text-search.mdx

Unfortunately pipes can't be escaped in our docs markdown parser right now.

* Fixed code in md table with pipe

Co-authored-by: Rich Haines <[email protected]>

* Small fixes in self relation docs (#2221)

- Fix a minor heading level inconsistency 
- Fix an issue with incorrect code highlighting

* fix(codemods): Fix title (#2224)

* fix(deps): update dependency @prisma/lens to v0.0.222

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* upgrade to prisma 3 guide plus structural changes

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* interactive transactions: update concept and tx guide with a better example (#2227)

* interactive transactions: update concept and tx guide with a better example

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Rich Haines <[email protected]>

* add spacing between header

Co-authored-by: Hervé Labas <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Rich Haines <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Refactor

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/250-upgrading-to-use-preview-features.mdx

Co-authored-by: Hervé Labas <[email protected]>

* small changes

* Chnaged order of breaking changes to match release notes

Co-authored-by: Matthew Mueller <[email protected]>
Co-authored-by: Tasin Ishmam <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Hervé Labas <[email protected]>
molebox added a commit that referenced this pull request Sep 6, 2021
* Update 060-full-text-search.mdx (#2218)

* Update 060-full-text-search.mdx

Unfortunately pipes can't be escaped in our docs markdown parser right now.

* Fixed code in md table with pipe

Co-authored-by: Rich Haines <[email protected]>

* Small fixes in self relation docs (#2221)

- Fix a minor heading level inconsistency 
- Fix an issue with incorrect code highlighting

* fix(codemods): Fix title (#2224)

* fix(deps): update dependency @prisma/lens to v0.0.222

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* interactive transactions: update concept and tx guide with a better example (#2227)

* interactive transactions: update concept and tx guide with a better example

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Rich Haines <[email protected]>

* add spacing between header

Co-authored-by: Hervé Labas <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Rich Haines <[email protected]>

* Missed feedback from previous PR

Co-authored-by: Matthew Mueller <[email protected]>
Co-authored-by: Tasin Ishmam <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Hervé Labas <[email protected]>
molebox added a commit that referenced this pull request Sep 7, 2021
* SQL Server GA (#2164)

* working on tutorial

* MSSQL tasks, 2095, 2083, 2094, 2091, 2086, 2082

* working on tutorial

* MSSQL tasks, 2095, 2083, 2094, 2091, 2086, 2082

* Update content/100-getting-started/02-setup-prisma/100-start-from-scratch/110-relational-databases/100-connect-your-database.mdx

Co-authored-by: Jan Piotrowski <[email protected]>

* Feedback changes, including: mssql => sqlserver, clean up sections, fix sql tables

Co-authored-by: Jan Piotrowski <[email protected]>

* fix: broken links in mdx files

* $queryRaw and $executeRaw GA (#2177)

* Updated query raw page

* Made sql injection warning scary

* Changed sql injection warning, updated sql injection section, changed mock emails

* Removed in preview from Interactive Transactions

* fixed query

* Removed section about template literals, fixed query

* Minor change

* Revert removal of in preview tags

* Removed link to issue

* add: initial full-text search docs

* Sql Server GA part 2 (#2192)

* Fixes #2084

* Fixes #2085

* Fixes #2088

* Fixes #2093

* Changed title of section, moved content and deleted tls section

* Patch typeorm uses mssql (#2198)

* Update content/200-concepts/100-components/02-prisma-client/060-full-text-search.mdx

* Update content/200-concepts/100-components/02-prisma-client/060-full-text-search.mdx

* Update content/200-concepts/100-components/02-prisma-client/060-full-text-search.mdx

* Update content/200-concepts/100-components/02-prisma-client/060-full-text-search.mdx

* Sql server fixes (#2200)

* SQL Server boolean type is bit

* Note about decimal parameters

* No need for params, when describing allowed types

* bit is not bytes!

* Fix SQL Server feature matrix (#2199)

* Fix SQL Server feature matrix

- No support for `RESTRICT` action
- JSON support is only partial

* Fix phrasing

* Moved previews to GA (#2196)

* Update schema ref attributes (#2213)

* Added note of until version 3 the signiture was...

* Fixed codeblocks inside quote blocks

* `db seed` GA (#2161)

* Updated db seed docs

* Trigger build

* Chnaged to require syntax

* Update content/300-guides/050-database/300-seed-database.mdx

Co-authored-by: Joël Galeran <[email protected]>

* Feedback changes

* Simplified copy and seed field

* Added note about compile options when using nextjs

* Update content/300-guides/050-database/300-seed-database.mdx

Co-authored-by: Jan Piotrowski <[email protected]>

* Update content/300-guides/050-database/300-seed-database.mdx

Co-authored-by: Jan Piotrowski <[email protected]>

* Changed copy according to feedback

* Update content/300-guides/050-database/300-seed-database.mdx

Co-authored-by: Tom Houlé <[email protected]>

* Moved migrate section and added more context

* Fixed alignment bug causing failed builds

Co-authored-by: Joël Galeran <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Tom Houlé <[email protected]>

* update node requirement from 12.2 to 12.6 (#2245)

Closes prisma/orm#8839

* Sql server add to project guide (#2248)

* Update 060-full-text-search.mdx (#2218)

* Update 060-full-text-search.mdx

Unfortunately pipes can't be escaped in our docs markdown parser right now.

* Fixed code in md table with pipe

Co-authored-by: Rich Haines <[email protected]>

* Small fixes in self relation docs (#2221)

- Fix a minor heading level inconsistency 
- Fix an issue with incorrect code highlighting

* fix(codemods): Fix title (#2224)

* fix(deps): update dependency @prisma/lens to v0.0.222

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* interactive transactions: update concept and tx guide with a better example (#2227)

* interactive transactions: update concept and tx guide with a better example

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Rich Haines <[email protected]>

* add spacing between header

Co-authored-by: Hervé Labas <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Rich Haines <[email protected]>

* Add to existing project sql server guide

* Feedback changes

Co-authored-by: Matthew Mueller <[email protected]>
Co-authored-by: Tasin Ishmam <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Hervé Labas <[email protected]>

* remove --preview-feature from db seed (#2250)

* Upgrade guide to Prisma 3 + structural changes (#2247)

* Update 060-full-text-search.mdx (#2218)

* Update 060-full-text-search.mdx

Unfortunately pipes can't be escaped in our docs markdown parser right now.

* Fixed code in md table with pipe

Co-authored-by: Rich Haines <[email protected]>

* Small fixes in self relation docs (#2221)

- Fix a minor heading level inconsistency 
- Fix an issue with incorrect code highlighting

* fix(codemods): Fix title (#2224)

* fix(deps): update dependency @prisma/lens to v0.0.222

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* upgrade to prisma 3 guide plus structural changes

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* interactive transactions: update concept and tx guide with a better example (#2227)

* interactive transactions: update concept and tx guide with a better example

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Rich Haines <[email protected]>

* add spacing between header

Co-authored-by: Hervé Labas <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Rich Haines <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Refactor

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/index.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/300-upgrade-guides/250-upgrading-to-use-preview-features.mdx

Co-authored-by: Hervé Labas <[email protected]>

* small changes

* Chnaged order of breaking changes to match release notes

Co-authored-by: Matthew Mueller <[email protected]>
Co-authored-by: Tasin Ishmam <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Hervé Labas <[email protected]>

* Update 07-names-in-underlying-database.mdx

* Upgrade guide mk2 (#2263)

* Update 060-full-text-search.mdx (#2218)

* Update 060-full-text-search.mdx

Unfortunately pipes can't be escaped in our docs markdown parser right now.

* Fixed code in md table with pipe

Co-authored-by: Rich Haines <[email protected]>

* Small fixes in self relation docs (#2221)

- Fix a minor heading level inconsistency 
- Fix an issue with incorrect code highlighting

* fix(codemods): Fix title (#2224)

* fix(deps): update dependency @prisma/lens to v0.0.222

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* interactive transactions: update concept and tx guide with a better example (#2227)

* interactive transactions: update concept and tx guide with a better example

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* fix(deps): update dependency @prisma/lens to v0.0.223

* fix(deps): update dependency @prisma/lens to v0.0.224

* fix(logging): Fix highlighted line in code (#2230)

* fix(use-custom-model-and-field-names): Fix a typo (#2228)

* feat(environment-variables): Expand env vars from system env, not only .env file (#2208)

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Hervé Labas <[email protected]>

* Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx

Co-authored-by: Rich Haines <[email protected]>

* add spacing between header

Co-authored-by: Hervé Labas <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Rich Haines <[email protected]>

* Missed feedback from previous PR

Co-authored-by: Matthew Mueller <[email protected]>
Co-authored-by: Tasin Ishmam <[email protected]>
Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Hervé Labas <[email protected]>

* Chnaged image sin cloudinary (#2275)

* Minor fixes to constraint names upgrade guide (#2274)

* Minor fixes to constraint names upgrade guide

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx

* fix(prisma-client-transactions-guide): fix referential actions admon + Whats new week 30th sept (#2264) (#2267)

* Whats new week 30th sept (#2264)

* fix: broken links in mdx files

* add: initial full-text search docs

* Update content/200-concepts/100-components/02-prisma-client/060-full-text-search.mdx

* Update content/200-concepts/100-components/02-prisma-client/060-full-text-search.mdx

* Update content/200-concepts/100-components/02-prisma-client/060-full-text-search.mdx

* Update content/200-concepts/100-components/02-prisma-client/060-full-text-search.mdx

* whats new week 23rd and 30th

Co-authored-by: Nilu <[email protected]>
Co-authored-by: Matthew Mueller <[email protected]>

* fix(prisma-client-transactions-guide): fix referential actions admon

Co-authored-by: Rich Haines <[email protected]>
Co-authored-by: Nilu <[email protected]>
Co-authored-by: Matthew Mueller <[email protected]>

* Added docs about the json nullability breaking change (#2265)

* added docs about the json nullability breaking change

* fix todos

* Update content/200-concepts/100-components/02-prisma-client/051-working-with-fields/100-working-with-json-fields.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/051-working-with-fields/100-working-with-json-fields.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/051-working-with-fields/100-working-with-json-fields.mdx

Co-authored-by: Rich Haines <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx

Co-authored-by: Rich Haines <[email protected]>

Co-authored-by: Rich Haines <[email protected]>

* Feedback changes (#2276)

* db seed small fixes (#2281)

* Document Node-API library (#2258)

Co-authored-by: Hervé Labas <[email protected]>

* Update content/400-reference/200-api-reference/300-environment-variables-reference.mdx

Co-authored-by: Jan Piotrowski <[email protected]>

* Update content/400-reference/200-api-reference/300-environment-variables-reference.mdx

Co-authored-by: Jan Piotrowski <[email protected]>

* Changes text

* Update content/300-guides/050-database/300-seed-database.mdx

Co-authored-by: Jan Piotrowski <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/150-referential-actions.mdx

Co-authored-by: Julius de Bruijn <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/150-referential-actions.mdx

Co-authored-by: Julius de Bruijn <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/150-referential-actions.mdx

Co-authored-by: Julius de Bruijn <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/150-referential-actions.mdx

Co-authored-by: Julius de Bruijn <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/150-referential-actions.mdx

Co-authored-by: Julius de Bruijn <[email protected]>

* Introspection/db pull: Moved sections around, added link (#2282)

* Moved sections around, added link

* Update content/400-reference/200-api-reference/200-command-reference.mdx

Co-authored-by: Joël Galeran <[email protected]>

* Update content/400-reference/200-api-reference/200-command-reference.mdx

Co-authored-by: Joël Galeran <[email protected]>

* Update content/400-reference/200-api-reference/200-command-reference.mdx

Co-authored-by: Joël Galeran <[email protected]>

* split warning into 2 sections

* Removed text as wrong

* Update content/400-reference/200-api-reference/200-command-reference.mdx

Co-authored-by: Joël Galeran <[email protected]>

* Update content/400-reference/200-api-reference/200-command-reference.mdx

Co-authored-by: Joël Galeran <[email protected]>

Co-authored-by: Joël Galeran <[email protected]>

* Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/150-referential-actions.mdx

Co-authored-by: Julius de Bruijn <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Use the new constraint name defaults in SQL Server (#2284)

... migrate example

* New constraint names for SQL Server introspection (#2286)

* DANGER_PLAINTEXT should not be mentioned (#2287)

* Update content/200-concepts/200-database-connectors/08-sql-server/index.mdx

Co-authored-by: Julius de Bruijn <[email protected]>

* Raw query fixes (#2285)

* raw query fixes

* changes

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx

Co-authored-by: Pierre-Antoine Mills <[email protected]>

* fixes

Co-authored-by: Pierre-Antoine Mills <[email protected]>

Co-authored-by: Jan Piotrowski <[email protected]>
Co-authored-by: Nilu <[email protected]>
Co-authored-by: Matthew Mueller <[email protected]>
Co-authored-by: Hervé Labas <[email protected]>
Co-authored-by: Julius de Bruijn <[email protected]>
Co-authored-by: Joël Galeran <[email protected]>
Co-authored-by: Tom Houlé <[email protected]>
Co-authored-by: Tasin Ishmam <[email protected]>
Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Vespaiach <[email protected]>
Co-authored-by: Pierre-Antoine Mills <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants