couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benoit Chesneau <bchesn...@gmail.com>
Subject Re: have look ..
Date Sun, 29 Jun 2014 15:49:34 GMT
start_key="2014-06-27 00:03", end_key="2014-06-27 00:05\0" or such thing
probably.


On Sun, Jun 29, 2014 at 3:28 PM, Sebastian Rothbucher <
sebastianrothbucher@googlemail.com> wrote:

> 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, None, 0 bytes)
View raw message