spring-data-mongodb
spring-data-mongodb copied to clipboard
Support "maxTime" in Querydsl queries
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.
Thank you for the suggestion. Let me take this to the team.