Reputation: 451
I am using cakephp 3.4.
I need to retrieve the data from two tables where no any association between them. I need to have solution where I can bind 2 models dynamically for that particular query.
There is an option to bind-unbind model, but that is an old method.
If there are 2 tables i.e. Articles
and Authors
without any relations/association, I could be able to find Author
record while querying on Articles
.
Upvotes: 0
Views: 231