New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$queryRaw and $executeRaw GA #2177
Conversation
content/200-concepts/100-components/02-prisma-client/058-transactions.mdx
Outdated
Show resolved
Hide resolved
content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Line 16 can be adapted to list the new methods as well now
- SQL Injection section can probably be updated now with new methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments but generally looks good to me.
The interactive transactions content being there is a bit disturbing, but can work fine
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've spotted a couple of minor things.
One key question revolves around the ALTER table limitation and suggestion solution where I wonder if there is an error in the doc here.
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx
Outdated
Show resolved
Hide resolved
|
||
- Both versions of `$executeRaw` (tagged template and parameterized) can only run **one** query at a time. You cannot append a second query - for example, adding `DROP bobby_tables` to the end of an `ALTER`. | ||
|
||
If you cannot use tagged templates or parameterized queries (for example, you need to pass in table or column names as variables), you can instead use [`$queryRawUnsafe`](#query-raw-unsafe) or [`$executeRawUnsafe`](#execute-raw-unsafe) but **be aware that your code may be vulnerable to SQL injection**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for later: it could be good to point people to how to properly escape strings etc. to prevent SQL injections whenever using Unsafe signature methods. This can be done in a separate effort, but would be worthwhile as a user, since you otherwise just see you're in this situation but left with the task to figure out how to deal with it on your own.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, a new section within this page about how to escape strings while using $executeRawUnsafe
/ $queryRawUnsafe
would be ideal. Ive asked @millsp about that. Would be good to link to it from within the page
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somewhat related: I'm wondering if we could allow ALTER
, CREATE
, DROP
in $executeRaw
and instead of doing a prepared statement, we would automatically escape their inputs. I also think that we should look into providing some helper to escape input.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@millsp is this something you are thinking about for 7th sept release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are interesting ideas indeed @millsp and I think we should track them in their individual issues, unless they would come with a breaking change, in such case that would be better to indeed do those before the new major.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That won't be a breaking change, so I'll keep the improvements for later.
content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx
Outdated
Show resolved
Hide resolved
* 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 <piotrowski+github@gmail.com> * Feedback changes, including: mssql => sqlserver, clean up sections, fix sql tables Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> * 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 <Jolg42@users.noreply.github.com> * 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 <piotrowski+github@gmail.com> * Update content/300-guides/050-database/300-seed-database.mdx Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> * Changed copy according to feedback * Update content/300-guides/050-database/300-seed-database.mdx Co-authored-by: Tom Houlé <13155277+tomhoule@users.noreply.github.com> * Moved migrate section and added more context * Fixed alignment bug causing failed builds Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com> Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Tom Houlé <13155277+tomhoule@users.noreply.github.com> * update node requirement from 12.2 to 12.6 (#2245) Closes prisma/prisma#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 <hello@richardhaines.dev> * 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 <hello@richardhaines.dev> * 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 <431257+thebiglabasky@users.noreply.github.com> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * 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 <hello@richardhaines.dev> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> * add spacing between header Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Vespaiach <nta.toan@gmail.com> Co-authored-by: Rich Haines <hello@richardhaines.dev> * Add to existing project sql server guide * Feedback changes Co-authored-by: Matthew Mueller <mattmuelle@gmail.com> Co-authored-by: Tasin Ishmam <tasinishmam@gmail.com> Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Vespaiach <nta.toan@gmail.com> Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * 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 <hello@richardhaines.dev> * 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 <hello@richardhaines.dev> * 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 <431257+thebiglabasky@users.noreply.github.com> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * 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 <hello@richardhaines.dev> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> * add spacing between header Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Vespaiach <nta.toan@gmail.com> Co-authored-by: Rich Haines <hello@richardhaines.dev> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * 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 <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/100-named-constraints.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/index.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/300-upgrade-guides/250-upgrading-to-use-preview-features.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * small changes * Chnaged order of breaking changes to match release notes Co-authored-by: Matthew Mueller <mattmuelle@gmail.com> Co-authored-by: Tasin Ishmam <tasinishmam@gmail.com> Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Vespaiach <nta.toan@gmail.com> Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * 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 <hello@richardhaines.dev> * 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 <hello@richardhaines.dev> * 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 <431257+thebiglabasky@users.noreply.github.com> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * 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 <hello@richardhaines.dev> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/300-guides/100-performance-and-optimization/100-prisma-client-transactions-guide.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> * Update content/200-concepts/100-components/02-prisma-client/058-transactions.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> * add spacing between header Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Vespaiach <nta.toan@gmail.com> Co-authored-by: Rich Haines <hello@richardhaines.dev> * Missed feedback from previous PR Co-authored-by: Matthew Mueller <mattmuelle@gmail.com> Co-authored-by: Tasin Ishmam <tasinishmam@gmail.com> Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Vespaiach <nta.toan@gmail.com> Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * 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 <nilubava@gmail.com> Co-authored-by: Matthew Mueller <mattmuelle@gmail.com> * fix(prisma-client-transactions-guide): fix referential actions admon Co-authored-by: Rich Haines <hello@richardhaines.dev> Co-authored-by: Nilu <nilubava@gmail.com> Co-authored-by: Matthew Mueller <mattmuelle@gmail.com> * 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 <hello@richardhaines.dev> * Update content/200-concepts/100-components/02-prisma-client/051-working-with-fields/100-working-with-json-fields.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> * Update content/200-concepts/100-components/02-prisma-client/051-working-with-fields/100-working-with-json-fields.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> * Update content/300-guides/300-upgrade-guides/200-upgrading-versions/050-upgrading-to-prisma-3/index.mdx Co-authored-by: Rich Haines <hello@richardhaines.dev> Co-authored-by: Rich Haines <hello@richardhaines.dev> * Feedback changes (#2276) * db seed small fixes (#2281) * Document Node-API library (#2258) Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> * Update content/400-reference/200-api-reference/300-environment-variables-reference.mdx Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> * Update content/400-reference/200-api-reference/300-environment-variables-reference.mdx Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> * Changes text * Update content/300-guides/050-database/300-seed-database.mdx Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> * 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 <bruijn@prisma.io> * 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 <bruijn@prisma.io> * 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 <bruijn@prisma.io> * 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 <bruijn@prisma.io> * 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 <bruijn@prisma.io> * 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 <Jolg42@users.noreply.github.com> * Update content/400-reference/200-api-reference/200-command-reference.mdx Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com> * Update content/400-reference/200-api-reference/200-command-reference.mdx Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com> * 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 <Jolg42@users.noreply.github.com> * Update content/400-reference/200-api-reference/200-command-reference.mdx Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com> Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com> * 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 <bruijn@prisma.io> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * 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 <bruijn@prisma.io> * 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 <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * Update content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> * fixes Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com> Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Nilu <nilubava@gmail.com> Co-authored-by: Matthew Mueller <mattmuelle@gmail.com> Co-authored-by: Hervé Labas <431257+thebiglabasky@users.noreply.github.com> Co-authored-by: Julius de Bruijn <bruijn@prisma.io> Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com> Co-authored-by: Tom Houlé <13155277+tomhoule@users.noreply.github.com> Co-authored-by: Tasin Ishmam <tasinishmam@gmail.com> Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Vespaiach <nta.toan@gmail.com> Co-authored-by: Pierre-Antoine Mills <pierreantoine.urvoy@gmail.com>
This PR update the
$queryRaw
and$executeRaw
docs to reflect the changes made in prisma/prisma#7142Fixes: #2157