Skip to content

Commit

Permalink
another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell committed Aug 4, 2024
1 parent e1cfd17 commit a4a3913
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,22 +255,22 @@ With [TypedSQL](/orm/prisma-client/using-raw-sql), you can use PostgreSQL's `to_

<TabbedContent>

<Tab title="fullTextSearch.sql">
<TabItem title="fullTextSearch.sql">

```sql
SELECT * FROM "Blog" WHERE to_tsvector('english', "Blog"."content") @@ to_tsquery('english', ${term});
```

</Tab>
</TabItem>

<Tab title="index.ts">
<TabItem title="index.ts">

```ts
const term = `cat`
const result = await prisma.$queryRawTyped(fullTextSearch(term))
```

</Tab>
</TabItem>

</TabbedContent>

Expand Down

0 comments on commit a4a3913

Please sign in to comment.