Entities and relationship |
Quote:Do I really have to send another query, like "authorModel->find(9)" ? that would be very very heavy in the end, in term of sql queries amount.... Not that much. Don't underestimate the speed a database read data. Getting a single row with its primary key is extremely fast. Making a single select that joined multiple tables won't be necessarily faster than making multiple select of single rows with its id. |
Messages In This Thread |
Entities and relationship - by Skem - 10-14-2021, 01:42 AM
RE: Entities and relationship - by includebeer - 10-16-2021, 07:09 AM
RE: Entities and relationship - by MGatner - 10-23-2021, 05:04 AM
RE: Entities and relationship - by mlurie - 10-26-2021, 09:09 AM
RE: Entities and relationship - by manager - 10-31-2021, 09:44 PM
RE: Entities and relationship - by foxbille - 12-18-2021, 10:14 AM
RE: Entities and relationship - by stopz - 12-20-2021, 02:33 PM
RE: Entities and relationship - by viewfromthenorth - 12-24-2021, 06:12 AM
RE: Entities and relationship - by groovebird - 07-05-2022, 11:53 PM
RE: Entities and relationship - by kilishan - 07-06-2022, 06:33 AM
|