Matt Langer
09/02/2021, 6:50 PMmodel User {
id String @id @default(uuid())
givenName String
familyName String
}
if i want to perform a LIKE query against that table, it is quite simple to search for either the given name or the family name, but it is unclear to me how to use Prisma to search for a full name across both columns. in PostgreSQL i could do the following,
WHERE (User.givenName || ' ' || User.familyName) LIKE ...
is something like this possible with prisma?Ryan
09/03/2021, 6:19 AMprisma.$queryRaw.