medz / prisma-dart

Prisma Client Dart is an auto-generated type-safe ORM. It uses Prisma Engine as the data access layer and is as consistent as possible with the Prisma Client JS/TS APIs.
https://prisma.pub
BSD 3-Clause "New" or "Revised" License
459 stars 31 forks source link

StringFilter miss the IN operator #428

Closed AndryHTC closed 1 month ago

AndryHTC commented 2 months ago

Immagine WhatsApp 2024-09-18 ore 09 28 08_d8da15d9

medz commented 2 months ago

@AndryHTC Can you tell me the type of database you are using

AndryHTC commented 2 months ago

@AndryHTC Can you tell me the type of database you are using

Postgres

medz commented 2 months ago

Hey @AndryHTC: Unfortunately, I can't reproduce the problem you are having. So I created an example using postgres, located at 👉 examples/with_postgres

image image

I have everything working fine here, with in string filtering.

PS: Since in is a Dart reserved keyword, it has been renamed to $in.

medz commented 1 month ago

@AndryHTC Has there been any progress?

AndryHTC commented 1 month ago

I found the problem, which may be related to IntelliJ autocompletion, as in VS Code I can see the $in.

Thank you