couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Breunese <>
Subject Re: The sum function (used in reduce)
Date Wed, 22 Apr 2009 21:51:51 GMT
Adam Wolff wrote:

> It'd be great to make it so that _design docs can define helper
> functions too, so that two views can share a helper.

You can already define functions in a separate file and use macros to  
'import' them when defining view functions.

Nils Breunese.

View raw message