Hi,
I try out transaction handling where I do only a simple replace operation
on 2 documents in 2 different collections.
When I pass in an outdated "_rev" I get NO error
What could be the reason for this?
e.g.
function () {
// This code will be executed inside ArangoDB!
var db = require('org/arangodb').db;
var payment = db.payment.replace(params['payment']._key,
params['payment'], {rev: 1083175989924});
var notification =
db.paymentnotification.replace(params['notification']._key,
params['notification'], {rev: 1083175989931});
return {notification: notification, payment: payment};
}
Can anybody give me a hint?
TIA
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.