David Hancu
09/14/2022, 9:24 AMpg_trgm
in the Prisma client! For those who don't know, pg_trgm
allows fuzzy matching in PostgreSQL databases.
As for implementation ideas, Prisma Util will generate an SQL query to support this feature, then run your migrations. Then, it will add @Unsupported("TSVECTOR")
to your fields and create GIN or GiST (configured per field) indexes, as well as install pg_trgm
.
As for usage, I'd need some suggestions for it.nikolasburk
pg_trgm
implementation, Iโd recommend you to post your idea also in the respective GitHub issue since thatโs where you find the people who have a vested interest in this feature ๐David Hancu
09/14/2022, 9:59 AMAustin
09/26/2022, 8:16 PM