incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Hinrichs - DM&T" <dunde...@gmail.com>
Subject Re: Better way to count attachments?
Date Sat, 17 Jan 2009 03:36:03 GMT
On Fri, Jan 16, 2009 at 8:12 PM, Chris Anderson <jchris@gmail.com> wrote:
>
> On Fri, Jan 16, 2009 at 4:59 PM, Jeff Hinrichs - DM&T
> <dundeemt@gmail.com> wrote:
> > On Fri, Jan 16, 2009 at 6:51 PM, Bradford Winfrey <bradswinfrey@yahoo.com>wrote:
> >
> >> I thought spidermonkey provided a __count__ method, sorry to justtjink
> >> aloud, out and about at the moment
>
> is doc._attachments.length reliable?
doc._attachments.length causes the view to fail
firebug is quiet but output is "Showing 0--1 of 0 rows" making it seem
to be a silent syntax error

> >>
> >>  I had assumed so to, but gave up after 30 minutes or so of looking/banging
> > -- figured I'd post what I have working and see if someone knew better.
> > Thanks and Have a good time. ;)
> >
> > -jeff
> >
>
>
>
> --
> Chris Anderson
> http://jchris.mfdz.com



--
Jeff Hinrichs
Dundee Media & Technology, Inc
jeffh@dundeemt.com
402.218.1473
web: www.dundeemt.com
blog: inre.dundeemt.com

Mime
View raw message