Announcement Announcement Module
Collapse
No announcement yet.
MongoDB Distinct Queries Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • MongoDB Distinct Queries

    Hi,

    according to the reference manual for Spring Data, apparently distinct is supported in the method name to auto generate the appropriate query.

    However, I cannot get this to work and the example is not clear.

    Any further resources I can look at?

    R

  • #2
    Originally posted by too_many_details View Post
    Hi,

    according to the reference manual for Spring Data, apparently distinct is supported in the method name to auto generate the appropriate query.

    However, I cannot get this to work and the example is not clear.

    Any further resources I can look at?

    R
    I eventually started looking through the Spring source code. From what I can tell, the parser knows about distinct, but the MongoQueryCreator class never uses it.

    Can anyone comment? Oliver Gierke is the author.

    Comment

    Working...
    X