spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

Provides support to increase developer productivity in Java when using MongoDB. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access...

Results 316 spring-data-mongodb issues
Sort by recently updated
recently updated
newest added

**Expected behavior:** When I add the `SECONDARY_READS` meta flag using the annotation `@Meta(flags = { SECONDARY_READS })` or when `.allowSecondaryReads()` is invoked on a query, the read preference should be...

type: documentation
status: waiting-for-triage
status: feedback-provided

See https://github.com/spring-projects/spring-data-commons/pull/3050

type: enhancement

Suppose you have a document where `_id` is defined with a [$function](https://www.mongodb.com/docs/manual/reference/operator/aggregation/function/), like the following: ```json { "_id": { "$function": { "body": "some js code that takes no arguments" "args":...

type: bug
status: pending-design-work

## Setup Spring Boot `3.3.4` with `org.springframework.boot:spring-boot-starter-webflux` and `org.springframework.boot:spring-boot-starter-data-mongodb-reactive`. MongoDB version is `6.0.18`. ## MongoDB Config Reactive mongo client is configured in configuration to activate transactional feature in mongo templates:...

status: waiting-for-triage

I'm currently converting aggregations pipelines from `MongoRepository` to concrete classes with `MongoTemplate`, due to #4808, among other issues. In repositories, you can write pipelines as an array of json strings...

type: enhancement
theme: 5.0

In the discussion of potential solutions for #4808, one idea was to add a `resolver` attribute to the `@Meta` annotation that could… - either take a SpEL expression returning a...

theme: 5.0

- [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc). - [x] You use the code formatters provided [here](https://github.com/spring-projects/spring-data-build/tree/master/etc/ide) and have them applied to your changes. Don’t submit any formatting...

type: task

Hello, Using SetOperators.SetUnion: `SetOperators.arrayAsSet("aField").union("anotherField")` How can I reproduce this expression that works fine in Mongo, when one field is a single value and needs to be wrapped in square brackets:...

status: waiting-for-feedback
status: feedback-reminder