New error just started appearing in Drizzle Studio...

ERROR: bind message supplies 0 parameters, but prepared statement "sqlx_s_53" requires 1; SQLState: 08P01 unclear why this is occurring and how to fix it.
2 Replies
⚡Z.E.U.S⚡
⚡Z.E.U.S⚡3w ago
Hi! Can you please provide more context? Which dialect? Steps to reproduce?
larryvnz
larryvnz3w ago
driver: 'aws-data-api', dialect: 'postgresql', Hotfix patch (run in root folder of your project)
sed -i '' 's/const proxy = async (params) => {/const proxy = async (params) => {\n params.sql = params.sql.replace(\/\\$(\\d)\/g, '\'':$1'\'');/g' node_modules/drizzle-kit/bin.cjs
sed -i '' 's/const proxy = async (params) => {/const proxy = async (params) => {\n params.sql = params.sql.replace(\/\\$(\\d)\/g, '\'':$1'\'');/g' node_modules/drizzle-kit/bin.cjs
Want results from more Discord servers?
Add your server