couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul jobs" <>
Subject constraining couchdb to reject empty docs
Date Sun, 21 Dec 2008 21:56:59 GMT
deleting empty invites doc acc62c8510add7d69798a6b757bc5c66 {*'count':
0,*'uid': 1379516078, 'created': '2008-12-21T13:04:00Z', '_rev':
'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


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message