From e3bb9bbfda4bfdb45c08b51b0d79f6a1b4fe25a2 Mon Sep 17 00:00:00 2001 From: Nikolas Burk Date: Mon, 2 Dec 2024 13:53:18 +0100 Subject: [PATCH] small fixes --- .../200-upgrading-versions/500-upgrading-to-prisma-6.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/500-upgrading-to-prisma-6.mdx b/content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/500-upgrading-to-prisma-6.mdx index bc6d985254..dce096bd76 100644 --- a/content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/500-upgrading-to-prisma-6.mdx +++ b/content/200-orm/800-more/300-upgrade-guides/200-upgrading-versions/500-upgrading-to-prisma-6.mdx @@ -167,7 +167,7 @@ That way, you have a single, dedicated migration that takes care of this schema ### Full-text search on PostgreSQL -The [`fullTextSearch`]((/orm/prisma-client/queries/full-text-search)) Preview feature is promoted to General Availability only for MySQL. This means that if you're using PostgreSQL and currently make use of this Preview feature, you now need to use the new [`fullTextSearchPostgres`](/orm/prisma-client/queries/full-text-search#enabling-full-text-search-for-postgresql) Preview feature: +The [`fullTextSearch`](/orm/prisma-client/queries/full-text-search) Preview feature is promoted to General Availability only for MySQL. This means that if you're using PostgreSQL and currently make use of this Preview feature, you now need to use the new [`fullTextSearchPostgres`](/orm/prisma-client/queries/full-text-search#enabling-full-text-search-for-postgresql) Preview feature: #### Before @@ -208,7 +208,7 @@ Prisma v6 replaces the usage of [`Buffer`](https://nodejs.org/api/buffer.html)
Expand to view how to convert between Buffer and Uint8Array -### Conversion from Buffer to Uint8Array +### Conversion from `Buffer` to `Uint8Array` You can directly use the `Buffer` instance as a `Uint8Array`: @@ -217,7 +217,7 @@ const buffer: Buffer = Buffer.from([1, 2, 3, 4]); const uint8Array: Uint8Array = buffer; // No conversion needed ``` -### Conversion from Uint8Array to Buffer +### Conversion from `Uint8Array` to `Buffer` You can create a `Buffer` from a `Uint8Array` using `Buffer.from`: