Exact distinct-COUNT fails at planning time if the expression is complex. In this case the expression involved CASE and IN. Here's the query: SELECT COUNT(DISTINCT ...
I noticed that when calling Repository.count(findOptions) the default SQL query generated by Typeorm is a SELECT(COUNT(DISTINCT ...)) query when using Postgres. Postgres has some issues with counts ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results