Welcome Guest, Not a member yet? Register   Sign In
What do I do to view a problematic SQL code?
#3

The problem is that I was using the return value of
Code:
getLastQuery()
which is an object (a query object) and assuming it is the SQL code. To get the SQL code, we must cast it to a string as explained at Working with Query Objects of the User Guide.

And I can view the SQL code by spewing it onto the browser at a library, and I believe even in a model.
Reply


Messages In This Thread
RE: What do I do to view a problematic SQL code? - by owino - 10-09-2023, 09:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB