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
varchar
As per the title
CREATE TABLE my_table ( id INT PRIMARY KEY AUTO_INCREMENT, other_id INT NOT NULL, name VARCHAR(32) NOT NULL, value VARCHAR(32) NOT NULL );
const data = [ [1, "1.0", 3], [1, "2.0", 5], [1, "3.0", 6], [1, "4.0", 7], [1, "5.0", "im a string"], ];
await conn.batch("INSERT INTO my_table (other_id, name, value) VALUES (?, ?, ?)", data);
The last row auto increment ID doubled, in this case it's 8 (which should be 5)
8
The text was updated successfully, but these errors were encountered:
:))
Sorry, something went wrong.
No branches or pull requests
The problem
As per the title
The table
Consider this data
Insertion process
Result
Current result
The last row auto increment ID doubled, in this case it's
8
(which should be 5)Expected result
The text was updated successfully, but these errors were encountered: