We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've just encountered a very strange bug, which took me hours to figure out.
Apparently, if you execute an INSERT statement with parameters, it only works if the passed object contains more than 2 properties.
Fails with "cannot find parameter color_id";
dataAPI.query( `INSERT INTO component (color_id, name) VALUES(:color_id, :name)` ,{ color_id: 1, name: "test" })
Passes:
dataAPI.query( `INSERT INTO component (color_id, name) VALUES(:color_id, :name)` ,{ color_id: 1, name: "test", dummy: "dummy" })
Unfortunately I have no idea what causes this.
The text was updated successfully, but these errors were encountered:
@jeremydaly This is probably a semi-critical bug. It was fixed in PR #75 but hasn't been published to the npm registry, looks like.
Sorry, something went wrong.
+1
Why is this not on NPM yet?
No branches or pull requests
I've just encountered a very strange bug, which took me hours to figure out.
Apparently, if you execute an INSERT statement with parameters, it only works if the passed object contains more than 2 properties.
Fails with "cannot find parameter color_id";
Passes:
Unfortunately I have no idea what causes this.
The text was updated successfully, but these errors were encountered: