Fawn
Fawn copied to clipboard
upsert
I read the code and seems that the next example will not be rolled back properly:
task
.update("cars", {make: "Toyota"}, {make: "Toyota", year: 2016})
.options({upsert: true})
.update("cars", {make: "Ford"}, {make: "Ford", year: 2016})
.options({upsert: true})
.run();
Is it true?
Yeah I think you're onto something. I'll look into it.