couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J Chris Anderson <jch...@gmail.com>
Subject Re: available JavaScript Functions in View
Date Sun, 21 Feb 2010 17:24:00 GMT

On Feb 21, 2010, at 12:14 PM, Mario Scheliga wrote:

> Hi folks,
> 
> i can't stop asking. which javascript functions are available in map, reduce, show, list
and update functions?
> 
> I suggest there are jquery-functions also then the sha1-function available. (saw them
in tuts). Is that right that
> all javascript includes in the share/www/scripts -directory is to my hand?

no, pretty much all that is available in the query server sandbox (aside from code you inline
into your functions yourself) is what is added to it here:

http://github.com/apache/couchdb/blob/trunk/share/server/loop.js#L15

> 
> thx alot
> mario
> 
> 
> --
> Sourcegarden GmbH HR: B-104357
> Steuernummer: 37/167/21214 USt-ID: DE814784953
> Geschaeftsfuehrer: Mario Scheliga, Rene Otto
> Bank: Deutsche Bank, BLZ: 10070024, KTO: 0810929
> Schoenhauser Allee 51, 10437 Berlin
> 


Mime
View raw message