Hi, > __toString() means a query is run for every item in the select list. Which > doesn't matter, > but doesn't feel good either ;)
Only if you use a db query inside your __toString method ... which sounds like a bad idea. This method is supposed to return a string briefly describing the objet. You should have enough data once you've built the object (since you've already gathered this data in the db). --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
