AssertionError: expected { Object (_id, _key, ...) } to have a property 'wat' of 'inserted at top level', but got 'inserted at other 2nd level' at Context. (C:\code\Arango\Foxx\_db\_system\pathtast\APP\test\example.js:14:33) at Function.global.DEFINE_MODULE.exports.nextTick (C:\ArangoDB\2.8.0-beta3\bin\../share/arangodb/js/common/bootstrap/modules/process.js:26:3)
Error: RoomTypeModifications at this point (after decrementing): [] used this query: LET n = DATE_DIFF("2016-01-27", "2016-01-29", "d", false) FOR i IN 0..n-1 LET d = xpectra::availability::iso8601todatenumber(DATE_ADD("2016-01-27", i, "day")) UPSERT {date: d, roomType: "TST"} INSERT {date: d, roomType: "TST", modifier: -1} UPDATE {modifier: OLD.modifier -1} IN availability_RoomTypeAvailabilitytModifier
SO there's a difference somewhere that i do not understand.
Whatever it is, I need to understand it and compensate accordingly. Any help or pointers is (as always) much appreciated :)
Thanks
/Julian