This is what the validation stuff is for. See jchris' recent blog post.
On Sun, Dec 21, 2008 at 4:56 PM, paul jobs <[email protected]> wrote: > deleting empty invites doc acc62c8510add7d69798a6b757bc5c66 {*'count': > 0,*'uid': 1379516078, 'created': '2008-12-21T13:04:00Z', '_rev': > '1796321906', > 'appname': 'searchsharer',* 'invuids': [],* 'date': '2008-12-21', '_id': > 'acc62c8510add7d69798a6b757bc5c66', 'name': 'Share search'} > deleting empty invites doc b76776b1b9e51871251acf343fb1a8f5 {'*count': 0*, > 'uid': 1291036769, 'created': '2008-12-21T13:01:48Z', '_rev': '874951005', > 'appname': 'searchsharer', *'invuids': [], *'date': '2008-12-21', '_id': > 'b76776b1b9e51871251acf343fb1a8f5', 'name': 'Share search'} > > is it possible to constrain couchdb to not store docs that have these > columns empty, invuids, count > if so is it done in couchdb or python? > > something akin to not null in sql > > thanks >
