Let's say we have the following model created with Prisma.
The DISTINCT ON keyword is similar to DISTINCT, but allows us to retain other columns from the row.
[
add
]
[
|
|
...
]
Let's say we have the following model created with Prisma.
The DISTINCT ON keyword is similar to DISTINCT, but allows us to retain other columns from the row.