SELECT and UPDATE multiple records in oriento / orientjs and transaction in waterline

Solution 1:

Try this

db.update(id).set({status:INACTIVE}).scalar()