Skip to content

QueryByExample FindOne : probe type [DATAMONGO-1768] #2673

Closed
@spring-projects-issues

Description

@spring-projects-issues

PAVAN KUMAR RAYABHARAPU opened DATAMONGO-1768 and commented

MongoExampleMapper inspects the probe type and writes type restrictions according to known types in MappingContext. Types assignable to the probe get included in the $in operator.

My probe type is different than the documents in the mongo collection.


Reference URL: https://stackoverflow.com/questions/45381431/mongodb-querybyexample-findone

Issue Links:

  • DATACMNS-1140 Open up Query by Example to allow extension in module implementations
    ("depends on")
  • DATAMONGO-1636 Query by Example doesn't work with documents that don't have the _class column

Referenced from: pull request #496

Backported to: 1.10.7 (Ingalls SR7)

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions