couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Custom view parameters???
Date Wed, 14 Jul 2010 05:45:09 GMT
Ok, I see, So I guess I need to find out where the design doc is and have 
a look at that then?

also can u limit views by using a field from the 'values' as a parameter. 
For example, say i have a value name as part of the view can i say 


Robert Newson <>
14/07/2010 03:38 PM
Re: Custom view parameters???

I believe the wiki page lists all the standard view parameters and
there are no others, and no facility to add custom ones.

However, you can fake some simple things using the _rewrite code. I
think it's powerful enough to map your 'fromDate=' to 'startkey=', for
example. More complicated transformations would, I think, need
client-side Javascript or a server-side patch.


On Wed, Jul 14, 2010 at 1:29 AM,  <> wrote:
> Yes, I realise this. perhaps you would like to re-read my question?
> From:
> Robert Newson <>
> To:
> Date:
> 14/07/2010 03:26 PM
> Subject:
> Re: Custom view parameters???
> The full set of view querying options are documented here;
> HTH,
> B.
> On Wed, Jul 14, 2010 at 1:19 AM,  <> wrote:
>> HI I am working on a couchDB database that has a view called
>> search_with_criteria (pretty self explanatory) anyway this has
>> functionality to add view parameters such as ?fromDate and ?toDate...I
> am
>> just trying to work out thow this all works...are these standard view
>> parameters? or are you able to make your own 'custom parameters' in
>> couchDB? if so Where would you store these??
>> oh also I should mention that the key of this view is a date with 
>> YYYY-MM-DDThh:mm:ss
>> Cheers
>> S

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message