Can't save json via prepared statements
I am getting a strange entry in my db while trying to save json through a prepared statement
This is my simplified prepared statement
This is how I am calling it
Finally this is what shows up in the json column in the db
What am I missing?
1 Reply
Seems like a github issue is open for the same. Added this comment there too https://github.com/drizzle-team/drizzle-orm/issues/1117
GitHub
[BUG]: Placeholder does not work with Json for prepared statement ·...
What version of drizzle-orm are you using? ^0.28.2 What version of drizzle-kit are you using? ^0.19.12 Describe the Bug Creating a prepared statement and using placeholder for dynamic data that is ...