Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Distinct AsCount error #702

Open
WimAtIHomer opened this issue Jan 25, 2024 · 0 comments
Open

Distinct AsCount error #702

WimAtIHomer opened this issue Jan 25, 2024 · 0 comments

Comments

@WimAtIHomer
Copy link

I have a query with joins and a select distinct for some columns.
The query gives normal results, but when I want to get a count of the query with await query.AsCount().GetAsync();
I get the error: The column 'Id' was specified multiple times for 'countQuery'

Any suggestions how to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant