queryRaw returns empty array
I am currently trying to implement vector search with Prisma and MariaDB. The problem I am facing is, that I have to use rawQuery since vectors are not supported by prisma and when I execute my raw Query through prisma.$queyRaw, I get an empty array back.. The exact same query run on DBeaver returns a result though. I am really confused here. What is going on??
My code:
6 Replies
You chose to debug with a human. They'll tinker with your query soon. If you get curious meanwhile, hop into
#ask-ai for a quick spin!
Exact same query in DBeaver returns result against same database:
Hmm, are you using the latest prisma version?
Also do you get the same bheaviour with queryRawUnsafe?
No way!! Thanks for your reply. Let me check that for you
For queryRawUnsafe I get the same result. I am on the latest version of prisma client and prisma mariadb-adapter
What?