Skip to content

Allow derived properties (getters) to be mapped [DATAMONGO-434] #1369

Closed as not planned
@spring-projects-issues

Description

@spring-projects-issues

Charles Blaxland opened DATAMONGO-434 and commented

It would be useful to be able to map the result of a getter (or any public method with no args) to Mongo, in addition to just the fields of a class. This is especially useful for derived properties, which don't have their own field but are instead calculated from the values of other fields. You may want to store these derived fields in Mongo so they can be efficiently queried


Affects: 1.0.1

Reference URL: http://forum.springsource.org/showthread.php?125560-MongoDB-saving-derived-fields

6 votes, 4 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: mappingMapping and conversion infrastructuretype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions