couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Rothbucher <sebastianrothbuc...@googlemail.com>
Subject Re: have look ..
Date Sun, 29 Jun 2014 13:28:27 GMT
Hi Anish,

I'd never have instable functions like 'now' in a view - it will not work.
View+list could do the Trick in your case as the view can remain stable

Good luck 
     Sebastian 

Von meinem iPhone gesendet

> Am 29.06.2014 um 07:26 schrieb Anish Menon <anishmenon@icloud.com>:
> 
> {
> 
> date :  "2014-06-27 11:50:24.336458"
> status : "Blaah blaah"
> 
> },
> 
> {
> 
> date :  "2014-06-27 11:55:24.336458"
> status : "Blaah blaah2"
> 
> },
> 
> {
> 
> date :  "2014-06-27 11:59:24.336458"
> status : "Blaah blaah3"
> 
> }
> I would like to filter those documents whose near to datetime "2014-06-27 00:04:24.336458
is less than current time. Is there a way I can achieve this using view.

Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message