Skip to content

Commit

Permalink
Small note about array argument type inference (#6312)
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell authored Oct 4, 2024
1 parent 802ecea commit 98ce03a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,12 @@ WHERE age > $1 AND age < $2

The format of argument type definitions is the same regardless of the database engine.

:::note

Manually argument type definitions are not supported for array arguments. For these arguments, you will need to rely on the type inference provided by TypedSQL.

:::

## Examples

For practical examples of how to use TypedSQL in various scenarios, please refer to the [Prisma Examples repo](https://github.com/prisma/prisma-examples). This repo contains a collection of ready-to-run Prisma example projects that demonstrate best practices and common use cases, including TypedSQL implementations.
Expand Down

0 comments on commit 98ce03a

Please sign in to comment.