• Tristan Cavelier's avatar
    revisionstorage updated to pass tests · a9c06bba
    Tristan Cavelier authored
    "put" and "post" improved to update a document with its revision history
    jio.put({"_id": "mydoc", "_revs": ["2-second", "1-first"]}, callback);
    revs_info will be [{
      "rev": "2-second",
      "status": "available"
    }, {
      "rev": "1-first",
      "status": "missing"
    }]
    a9c06bba
revisionstorage.js 27.5 KB