Timeline for Print the query which is built using db_select()
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 8, 2021 at 9:11 | comment | added | Teenage | It's simple but not totally accurate: it misses the quote on strings and the NULL handling. | |
Aug 21, 2020 at 18:21 | comment | added | Bob Bob | This should be the #1 answer | |
Apr 25, 2019 at 16:28 | comment | added | albertski | This should be the correct answer. | |
Jul 27, 2016 at 10:25 | comment | added | Kiee |
No bloat / 3rd party modules required. Plus this works on queries that have not been executed, so you can print a query that fails and gives an error, dpq doesn't seem to allow this even in a try/catch.
|
|
Oct 19, 2015 at 20:49 | comment | added | dashohoxha | Short and concise indeed. | |
Nov 17, 2014 at 14:29 | review | Low quality posts | |||
Nov 17, 2014 at 14:29 | |||||
Nov 17, 2014 at 14:14 | history | answered | vijaycs85 | CC BY-SA 3.0 |