Skip to content
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

fix(raw-queries): Fix link target #6025

Merged
merged 4 commits into from
May 23, 2024
Merged

fix(raw-queries): Fix link target #6025

merged 4 commits into from
May 23, 2024

Conversation

janpio
Copy link
Contributor

@janpio janpio commented May 22, 2024

... to more useful page and some smaller fixes.

Copy link
Contributor

Absolute URL check

No absolute URLs to prisma.io/docs found.

Copy link
Contributor

Redirect check

This PR probably requires the following redirects to be added to static/_redirects:

  • This PR does not change any pages in a way that would require a redirect.

Copy link

cloudflare-workers-and-pages bot commented May 22, 2024

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0321339
Status: ✅  Deploy successful!
Preview URL: https://14a34127.docs-51g.pages.dev
Branch Preview URL: https://janpio-patch-1.docs-51g.pages.dev

View logs

@janpio janpio marked this pull request as ready for review May 22, 2024 15:46
@janpio janpio requested a review from jharrell May 22, 2024 15:46
@@ -136,7 +132,7 @@ const result = await prisma.$queryRaw<User[]>`SELECT * FROM User`

> **Note**: If you do not provide a type, `$queryRaw` defaults to `unknown`.

If you are selecting **specific fields** of the model or want to include relations, refer to the documentation about [leveraging Prisma Client's generated types](/orm/prisma-client/type-safety) if you want to make sure that the results are properly typed.
If you are selecting **specific fields** of the model or want to include relations, refer to the documentation about [leveraging Prisma Client's generated types](/orm/prisma-client/type-safety/operating-against-partial-structures-of-model-types#problem-using-variations-of-the-generated-model-type) if you want to make sure that the results are properly typed.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the core change of the PR. The old link just went to the parent page, while this goes to the correct subpage and headline.

@jharrell jharrell merged commit f9a8efd into main May 23, 2024
8 of 10 checks passed
@jharrell jharrell deleted the janpio-patch-1 branch May 23, 2024 18:02
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.

2 participants