Closed bendytree closed 7 years ago
Thanks for the report & for reproducing on both node and Chrome @bendytree! I'm under a couple of deadlines right now, but should be able to take a look over the weekend.
Thanks - I've already worked around it so no rush.
I also notice a problem if a nullable field is omitted on the first object:
sql.insert('thing', [{name:"A"},{name:"B",age:30}]).toString()
> "INSERT INTO thing (name) VALUES ('A'), ('B', 30)"
I've reproduced this on node 0.10.26 and Google Chrome:
Same with
insertInto
: