dp.cx blog

Thoughts from a programmer in (502) - A new post every 0 days!

Zend Db and non-escaped strings
This is for my own edification in the future, but if you're looking for a non-escaped string as a parameter to a query, it's not Zend\DB\Raw that you're looking for, as that doesn't exist. What you're looking for is new \Zend\Db\Sql\Expression() to handle those raw strings.

Posted on