Timeline for Given that db_select is much slower than db_query, why would I want to use it?
Current License: CC BY-SA 2.5
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 23, 2011 at 10:39 | comment | added | Berdir | It's not about "simple query" but, about a "simple query string" and simple actually means hardcoded and not dynamic. See my answer for more details :) | |
Mar 23, 2011 at 10:29 | comment | added | Chris Cohen | Thanks, but that's quite unspecific. It leaves the definition of 'simple query string' quite open to interpretation. If I'm selecting across 4 tables with 6 joins, is that still a simple query, or should it be done with db_select() instead? | |
Mar 23, 2011 at 10:08 | history | answered | marcvangend | CC BY-SA 2.5 |