Skip to content

Add SpEL support for MongoDB Aggregations introduced in MongoDB 3.6 and 4.0 [DATAMONGO-2077] #2943

Closed
@spring-projects-issues

Description

@spring-projects-issues

Christoph Strobl opened DATAMONGO-2077 and commented

Add the following aggregaion operators to org.springframework.data.mongodb.core.spel.MethodReferenceNode.

  • arrayToObject
  • objectToArray
  • mergeObjects
  • trim
  • ltrim
  • rtrim
  • convert
  • toBool
  • toDate
  • toDecimal
  • toDouble
  • toInt
  • toLong
  • toObjectId
  • toString
  • dateToString
  • dateFromString

Referenced from: pull request #639, and commits cd8402f, 3811ddf, 8e5da62

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions