notes from a passionate developer




This is a personal blog. The opinions expressed here represent my own and not those of my employer, nor current or previous. All content is published "as is", without warranty of any kind and I don't take any responsibility and can't be liable for any claims, damages or other liabilities that might be caused by the content.

map & reduce

CouchDB - many-to-many relations

CouchDB is one of those databases that is super simple to get started with and then has its not so obvious “tricks” how to accomplish things that might have felt super natural in another DB. Now, first lets pause right here and think of what I just said: > …might have felt super natural in another…

Daniel Wertheim Daniel Wertheim

CouchDB and starts with queries

Thought we could take a quick look at how to do a SQL'ish starts with LIKE 'Prefix%' query in CouchDb, using startkey, endkey & inclusive_end. Given a couple of simple documents: { "_id": "m1", "_rev": "...", "v": "a" } { "_id": "m2", "_rev": "...", "v": "ab" } { "_id": "m3",…

Daniel Wertheim Daniel Wertheim