Andreas Harmuth
11/19/2020, 7:50 AMnikolasburk
contains
, startsWith
and endWith
in a Prisma Client query, e.g.:
const draftPosts = await prisma.post.findMany({
where: {
title: {contains: searchString,},
},
})
nikolasburk
nikolasburk
Andreas Harmuth
11/20/2020, 9:23 AMAndreas Harmuth
then I want Andreas Hartmuth
to still return me the Andreas Harmuth
Andreas Harmuth
11/20/2020, 9:23 AMnikolasburk
LIKE
π€¦ββοΈ fuzzy search is not yet available via dedicated model queries, but you can still use it using raw SQL queries. It would actually be great if you could open a feature request with your exact use case for fuzzy search so that our product and engineering teams can look into implementing it πAndreas Harmuth
11/20/2020, 9:27 AMnikolasburk