How to view SQL generated by Query Builder? |
PHP, good idea to run the query directly. I ran it within phpMyAdmin. Seems I modified one of the columns, qualified from a digit to a string. I had assumed all of the fields set to 1 would convert to "yes". They did not and once I saw that in the phoMyAdmin, it became clear that was the issue. Thx.
Just read through the document you recommended: >>Also, don't forget that you can use query binding (https://codeigniter.com/user_guide/datab...y-bindings) instead of the query builder. sounds perfect for my needs. thanks again, Rich
proof that an old dog can learn new tricks
|
Messages In This Thread |
How to view SQL generated by Query Builder? - by richb201 - 08-06-2020, 03:50 PM
RE: How to view SQL generated by Query Builder? - by richb201 - 08-06-2020, 05:54 PM
RE: How to view SQL generated by Query Builder? - by richb201 - 08-07-2020, 05:44 AM
RE: How to view SQL generated by Query Builder? - by php_rocs - 08-07-2020, 06:48 AM
RE: How to view SQL generated by Query Builder? - by richb201 - 08-07-2020, 09:01 AM
RE: How to view SQL generated by Query Builder? - by richb201 - 08-09-2020, 12:34 PM
RE: How to view SQL generated by Query Builder? - by php_rocs - 08-10-2020, 07:14 AM
RE: How to view SQL generated by Query Builder? - by InsiteFX - 08-11-2020, 03:45 AM
RE: How to view SQL generated by Query Builder? - by richb201 - 08-11-2020, 04:21 PM
|