spring-data-mongodb
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...
For example, if I use spring-data-mongodb 3.4.2, but how do I know the compatible spring-boot version ? Thanks!
Could I ask why ReactiveSpringDataMongodbQuery is private? I want to use it like below. Flux result = new ReactiveSpringDataMongodbQuery(operations, Person.class).where() .join(person.coworker, QUser.user).on(QUser.user.username.eq("user-2")).fetch();
Could the annotation @RepositoryDefinition support add "pagingAndSorting" field to enhance the MongoTemplate?
This is a cross-post from: https://stackoverflow.com/q/73115112/1097451 with some minor modifications: This message started popping up after upgrading Spring Data MongoDB a few months ago. > 2022-07-25 22:27:33.313 INFO 236203 ---...
**[Shiv Veeram](https://jira.spring.io/secure/ViewProfile.jspa?name=shivaveeram)** opened **[DATAMONGO-1675](https://jira.spring.io/browse/DATAMONGO-1675?redirect=false)** and commented valueOf method for add & subtract in ArithmeticOperators along with minus & plus methods on ProjectionOperation currently expects Number value, AggregationExpression or a fieldReference....
Hi, the option for creating case insensitive index in MongoDB is available by setting `collation`. Specifically `locale` and `strength` values. It's described [in MongoDB documentation](https://www.mongodb.com/docs/manual/core/index-case-insensitive/). Currently, annotations `@Indexed` and `@CompoundIndex`...
This PR makes sure to close connections to the server when running tests. Closes: #3817
Hello I found an issue in `aggregateStream` method on `MongoTemplate`. If you use a local variable (`$$variable_name`) for example in filter operator then it is not able to resolve this...
I've attempted to execute the following aggregation operation: ```json { "names": { "$reduce": { "input": "$nestedNames", "initialValue": "$names", "in": { "$setUnion": [ "$$value", "$$this" ] } } } } ```...
**Problem** Currently the typical pattern for `MongoRepository` based interfaces is something like ```java // Domain type + persistence schema spec @Document(...) class SomeEntity { @Id UUID id; ... } interface...