You need to sign in to do that
Don't have an account?
Sonu06
single query to fetch lead and contacts in datatable using LWC
Hi,
I want to fetch the records of contacts and leads using a single query to display it into the datatable using lightning web component,,
please help me to solve this issue.
I want to fetch the records of contacts and leads using a single query to display it into the datatable using lightning web component,,
please help me to solve this issue.
Are you looking for a way to fetch data for contacts and respective leads in that case can you try checking below query:
>>SELECT id,name,(SELECT id from Lead) from Contact
Let me know if it works.
Regards,
Anutej