couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul jobs" <webjog...@gmail.com>
Subject Re: constraining couchdb to reject empty docs
Date Sun, 21 Dec 2008 22:34:19 GMT
http://jchris.mfdz.com/code/2008/12/template_functions#commentson the top of
templating
it will be cool if it can let us pick one of the templating languages
for eg
cheetah, mako or something like that in python

On Sun, Dec 21, 2008 at 1:58 PM, Paul Davis <paul.joseph.davis@gmail.com>wrote:

> This is what the validation stuff is for. See jchris' recent blog post.
>
> On Sun, Dec 21, 2008 at 4:56 PM, paul jobs <webjogger@gmail.com> 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
> >
>

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