Skip to content

Add overload of MongoOperations.stream(…) to take an explicit collection name [DATAMONGO-1431] #2342

Closed
@spring-projects-issues

Description

@spring-projects-issues

Vojtech Letal opened DATAMONGO-1431 and commented

Right now I am playing with Spring Data MongoDB and I need to have multiple collections consisting of object of the same class. All of the collections can be possibly large so I can not even use MongoTemplate because MongoTemplate#stream(Query, Class) also does not allow me to specify the collection name. Also it also means that the stream(…) method definition is inconsistent with findAll(…), which has a variant allowing you to specify the collection


Affects: 1.9.1 (Hopper SR1)

Issue Links:

Referenced from: commits 325bcd1

Metadata

Metadata

Assignees

Labels

in: coreIssues in core supportin: mappingMapping and conversion infrastructuretype: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions