Closed
Description
Is it possible to support saving existing documents. For example
db.User.findById('5997a409df4cc84e8ca3a8de').exec((err, user) => {
lodash.assign(user, req.body);
let transaction = Fawn.Task();
transaction.save(user);
transaction.update(....)
transaction.run({useMongoose: true})
});
Actually if I try this code, I receive duplicated id because creates a new collection with same id