Just out of curiosity, is this really how CouchDB does it?