Skip to content

Allow configuration of ReadConcern for queries and aggregations #4277

Closed
@sad3rasd

Description

@sad3rasd

Hi,
I would like to use find and aggregate query with readConcern level "snapshot" (and "atClusterTime") in order to get data at a specified point in time.

I can't find any way to implement this with spring data mongodb, am I miss something?
If not already available, how can be implemented using MongoTemplate? Also could this feature be added?

more info: https://www.mongodb.com/docs/manual/reference/read-concern-snapshot/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions