I have trouble with writing Doctrine Query Builder. I have a Posts table which is related to the AccountToken table like: I am writing a query builder where I want to pull all the results which are related to that table via UUID and have a specific status. The type value is defined in the AccountToken table. In that table,
Tag: doctrine-query
Doctrine – How to print out the real sql, not just the prepared statement?
We’re using Doctrine, a PHP ORM. I am creating a query like this: and then in the function I’m adding in various where clauses and things as appropriate, like this Later on, before execute()-ing that query object, I want to print out the raw SQL in order to examine it, and do this: However that only prints out the prepared