Results 1 to 5 of 5

Thread: 1.0.0.M4 to 1.0.0.RC1 - where did Query.or() go?

  1. #1
    Join Date
    Mar 2008
    Location
    Wayzata, MN
    Posts
    15

    Default 1.0.0.M4 to 1.0.0.RC1 - where did Query.or() go?

    In org.springframework.data.mongodb.core.query.Query there used to be an or() method. Where did that go? I can't find the change in Fisheye that eliminated this and don't see any relevant release notes. The last change in Fisheye is to add the and() method.
    Last edited by donohoe; Dec 8th, 2011 at 11:36 AM.

  2. #2

    Default

    There is a OrQuery you can use.

  3. #3

    Default

    There is a source code for AndQuery but it is not built in RC1. (the code was pushed in Oct)

    Any idea why?

  4. #4
    Join Date
    Apr 2006
    Location
    Dresden, Germany
    Posts
    483

    Default

    There's no such class as AndQuery in [0]. Where did you find that class? It might have been introduced during development but removed before the release as we decided for a different way to shape the API.

    [0] https://github.com/SpringSource/spri...odb/core/query

  5. #5

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •