kalil
kalil
KKysely
Created by kalil on 3/12/2024 in #help
Error when destructuring QueryCreator in withRecursive
I'm new to Kysely and attempting to migrate a Next app from prisma to kysely. I've generated types, successfully run some simple queries, and now I'm experiencing an error (in the title) that I'm unsure how to debug with a more complex recursive query. Here's a playground link to demonstrate: https://kyse.link/ZD1EV Can anyone help point me in the right direction? I cobbled this query together based on other examples I found but I haven't found anyone else with this error.
9 replies