Database query fails over proxy
Hey, first of all, I know this is neither the right channel nor server for this but I am unable to get this fixed and I know there are a lot of competent developers here so I thought I might try my luck here.
I am currently trying to use drizzle on durable objects via the drizzle sqlite-proxy adapter. I am running the sql queries on durable object sqlite storage and then returning the rows to drizzle, but I am always running into issues when trying to use json columns. Drizzle will just error out with this:
I am returning the data correctly but it just fails parsing any and all json columns.
This is my query method:
2 Replies
and this is my drizzle instance code:
drizzle has bugs, this is not the only one, if it is one
i opted to use drizzle just for migrations, raw sql for SCRUD, then manually type cast results using the schema types. Easier than banging my head against the wall with random crap like this