From 56ae1d2f7c63cf55800663e3f2706059160272a9 Mon Sep 17 00:00:00 2001 From: Jon Harrell <4829245+jharrell@users.noreply.github.com> Date: Sun, 4 Aug 2024 11:13:45 -0500 Subject: [PATCH] unique values in tabs --- .../100-queries/060-full-text-search.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx b/content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx index 14352d44c5..52e12aae9b 100644 --- a/content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx +++ b/content/200-orm/200-prisma-client/100-queries/060-full-text-search.mdx @@ -255,7 +255,7 @@ With [TypedSQL](/orm/prisma-client/using-raw-sql), you can use PostgreSQL's `to_ - + ```sql SELECT * FROM "Blog" WHERE to_tsvector('english', "Blog"."content") @@ to_tsquery('english', ${term}); @@ -263,7 +263,7 @@ With [TypedSQL](/orm/prisma-client/using-raw-sql), you can use PostgreSQL's `to_ - + ```ts const term = `cat` @@ -280,7 +280,7 @@ If you want to include a wildcard in your search term, you can do this as follow - + ```sql SELECT * FROM "Blog" WHERE to_tsvector('english', "Blog"."content") @@ to_tsquery('english', ${term}); @@ -288,7 +288,7 @@ If you want to include a wildcard in your search term, you can do this as follow - + ```ts //highlight-next-line @@ -306,7 +306,7 @@ In MySQL, you can express your search query as follows: - + ```sql SELECT * FROM Blog WHERE MATCH(content) AGAINST(${term} IN NATURAL LANGUAGE MODE); @@ -314,7 +314,7 @@ In MySQL, you can express your search query as follows: - + ```ts const term = `cat`