offline (panic!) > Failed attempt in scaling up causes corrupted & lost data I realised that CouchDB has some distinct features that I just took for granted
// get all logs of Device 1 of System 23 from January 2017, latest first await db.allDocs({ include_docs: true, startkey: `system23:device1:2017-01-`, endkey: `system23:device1:2017-01-\uffff`, descending: true })
"poison"], "abilities": ["Overgrow","Chlorophyll"], "catch_rate": 45 } CouchDB requires you to manage revisions (_rev) (tedious but pays off in the end)