Adding hint to sum aggregations

26 views
Skip to first unread message

Sam Mahdad

unread,
Mar 9, 2023, 9:09:07 AM3/9/23
to MongoEngine Users
Hello,

When calling .sum() the hint is not passed over to the aggregate function even though the aggregate function passes over the kwargs correctly. Would it be possible/ideal to pass over the hinting as to help the QueryPlanner and developers decide more precisely which index to use?

I didn't see any open/closed issues pertaining to this.

Sincerely,
Sam Mahdad
Reply all
Reply to author
Forward
0 new messages