spring-data-mongodb icon indicating copy to clipboard operation
spring-data-mongodb copied to clipboard

Support "maxTime" in Querydsl queries

Open onmishkin opened this issue 1 year ago • 1 comments

AFAICT there's no way to access MongoDB's "maximum query execution time" capability when Spring Data MongoDB's support for Querydsl.

Since I already had my own extension of QuerydslMongoPredicateExecutor (for unrelated reasons) I was able to extend it in a hacky way (by also extending SpringDataMongodbQuery and overriding its createQuery() method) but some cleaner way would be nice to have.

onmishkin avatar Nov 13 '23 21:11 onmishkin

Thank you for the suggestion. Let me take this to the team.

christophstrobl avatar Nov 16 '23 08:11 christophstrobl