I want to show two table values in Admin grid using UI Component (which has no relation) so using union query it can be achieved. How to get the collection from two tables?
Table structure 1
Table structure 2
Please, someone, help me with this.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityI want to show two table values in Admin grid using UI Component (which has no relation) so using union query it can be achieved. How to get the collection from two tables?
Table structure 1
Table structure 2
Please, someone, help me with this.
See the below example to join multiple tables in Magento2
https://webkul.com/blog/join-two-table-and-create-grid-in-admin-section-using-ui-component-in-magento2/