couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <jch...@gmail.com>
Subject Re: Better way to count attachments?
Date Sat, 17 Jan 2009 02:12:40 GMT
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?

>>
>>  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

Mime
View raw message