Can a model have multiple tables in CakePHP?
Guessing from this sentence in the manual:
A model is generally an access point to the database, and more specifically, to a certain table in the database. By default, each model uses the table who's name is plural of its own, i.e. a 'User' model uses the 'users' table.
I don't think so, but you can make relationships maybe thats what you need.
Check this
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With