Loading ...
Sorry, an error occurred while loading the content.

185Re: [taffydb] range filteration

Expand Messages
  • Jonathan Buford
    Aug 5, 2009
    • 0 Attachment
      Try:
      fruits.find({water:{gt:80}},{water:{lt:90}});

      On Tue, Aug 4, 2009 at 6:18 PM,
      irshadansari_06<irshadahmed.ansari@...> wrote:
      >
      >
      > Hi All,
      >
      > I am using taffy 1.7.2 version.
      > Can anyone let me know how to filter record between a specific range.
      > eg: i want to filter records having price greater than 20 and less than 50
      >
      > I am using the following code:
      > fruits.find({water:{gt:80}},{water:{lt:90}});
      >
      > But it only fetches record greater than 80.
      >
      > can anyone help to fetch records between 80 and 90.
      >
      > Thanks in advance,
      > Irshad
      >
      >
    • Show all 6 messages in this topic