couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <zachary.zol...@gmail.com>
Subject Re: eep0018 and spidermonkey 1.8.1
Date Mon, 18 May 2009 15:06:41 GMT
Paul,

I'd love to give some JavaScript 1.8 features a test drive in my view
code! Let's see how it goes...


Thanks,

Zach


On Mon, May 18, 2009 at 3:16 AM, Brian Candler <B.Candler@pobox.com> wrote:
> On Sun, May 17, 2009 at 09:01:34PM -0400, Paul Davis wrote:
>> The specific bits are
>> that when you emit(undefined, undefined) it now actually works and the
>> key/value pair null, null is emitted.
>
> That would be useful behaviour in any case. Right now I end up writing
>
>    emit(doc.foo||null, doc.bar||null);
>
> but you have to be careful with that as a pattern - e.g. if doc.foo is an
> empty string then null gets emitted instead.
>

Mime
View raw message