Error: `Fields "book" conflict because they have differing arguments. Use different aliases on the fields to fetch both if this was intentional. #2392
Answered
by
aklish
bappajubcse05
asked this question in
Q&A
-
I am trying to fetch all the records from a table/entity
But it is throwing below error:
I am not sure how I can retrieve these details using a single query. If I need to use alias, how can I define the aliases in the query? |
Beta Was this translation helpful? Give feedback.
Answered by
aklish
Oct 29, 2021
Replies: 1 comment 1 reply
-
Rewrite your query more like:
where mybooks1 and mybooks 2 are aliases you assign to each collection. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
aklish
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Rewrite your query more like:
where mybooks1 and mybooks 2 are aliases you assign to each collection.