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 243 spring-data-mongodb issues
Sort by recently updated
recently updated
newest added

This actually a follow up on #4666 to allow users to leverage the MongoDB disk usage defaults when working with the `@Meta` annotation which defaults `allowDiskUse` to `false`. With the...

status: pending-design-work
type: enhancement
has: breaking-change

Hi. I'm trying to understand the overloaded `project` methods in an aggregation. My initial understanding was that `project("x")` is only the short form of `project(Fields.from(field("x")))` or even `project(Fields.from(field("x", "x")))`. The...

type: bug
has: breaking-change

I am trying to run the following MongoDB aggregation using Spring: ```java @Repository public interface StockRepository extends MongoRepository { @Aggregation(pipeline = """ [ { $match: { timestamp: { $gte: $?0,...

type: documentation

I was noticing that the exact same debug statement is duplicated in https://github.com/spring-projects/spring-data-mongodb/blob/main/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ReactiveMongoTemplate.java#L1153 and on the underlying method call at https://github.com/spring-projects/spring-data-mongodb/blob/main/spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/ReactiveMongoTemplate.java#L1172 So if we have debug logging turned on, it...

type: bug

Closes #4692 , Sorry for being the impatient one 😬 but would love to contribute. - [x] Aggregation - [x] AggregationPipeline - [ ] AggregationOperations: - [x] AddFieldsOperation - [x]...

type: enhancement

Need to implement proper `equals()` function for Aggregation and Aggregation Operations. Use Case: while mocking a template.aggregate(...) we would also need to `verify` it using the actual invocations. The lack...

type: enhancement

Hello! This PR fix #4625. This is my first PR, please let me know if I've left anything out 🙏 - [x] You have read the [Spring Data contribution guidelines](https://github.com/spring-projects/spring-data-build/blob/master/CONTRIBUTING.adoc)....

type: enhancement

According to the [documentation](https://docs.spring.io/spring-data/mongodb/reference/mongodb/template-collection-management.html#time-series), it is possible to create a time series collection via `MongoTemplate` by either providing explicit `CollectionOptions` or a class annotated with `@TimeSeries`: ```java @TimeSeries(timeField = "timestamp")...

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

**[Cesar Tron-Lozai](https://jira.spring.io/secure/ViewProfile.jspa?name=cesartl)** opened **[DATAMONGO-2177](https://jira.spring.io/browse/DATAMONGO-2177?redirect=false)** and commented When migrating to 2.1.3 I noticed that the `asDBobject` method of SpringDataMongodbQuery method has been removed I tried to work around it by trying...

in: core
type: enhancement