February 2010
1 post
5 tags
Easy document revisions with RelaxDB
I’ve been using CouchDB/RelaxDB for a project I’m working on, and I wanted an easy way to access CouchDB’s document versioning for my models. Here’s what I came up with. Without going into too much detail, CouchDB doesn’t update documents in place, instead it creates a new document with the same ID and a new revision string. This gives you access to a rudimentary...
Feb 9th
1 note