Add support for count() function in JP-QL on MongoDB

Description

From the forum:

When the blog_entry_count query is exequted, the result is of BlogEntry type. I would expect it to be a number in this case. Does ogm supports aggregate functions and count() in particular in HQL?

Environment

None

Assignee

Aleksandr Mylnikov

Reporter

Gunnar Morling

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Sprint

Fix versions

Priority

Minor
Configure