-
Notifications
You must be signed in to change notification settings - Fork 10
Description
Hi @virzak,
is there any chance you could make DbFunctionsExtensions.AsSubQuery public?
Unfortunately, EF Core has some limitations (and there will probably always be some limitations) in regard to the way it generates SQL. I am writing a query in my current project, where I need to filter on quite a few subselect projections, which generates horribly inefficient SQL at the time (see this EF core issue).
I was trying to reimplement the AsSubQuery-functionality as a separate extension, but then I can't use your efcore-extensions anymore because we both would replace the NpgsqlQueryableMethodTranslatingExpressionVisitorFactory which doesn't work.
Since I really need this functionality (other attempts to optimize the query have failed), I am a bit out of look. What do you think?