Type error on insert
I'm trying to do a simple insert
The schema is like this
It shows error
apparently it's because the type provided by drizzle is somehow an Array, or is there something that I didn't know or did wrong?
2 Replies
You have to check the types of the object you're passing
entry
and locals
I just tested this in the typescript playground and I don't see a problemTS Playground - An online editor for exploring TypeScript and JavaS...
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.