Hi,
I'm looking for a way to save strings containing quotes in my database without these being automatically escaped/converted by the ORM, and still using models :)
I've looked a bit into what's happening down in the ORM, and it looks like the Phalcon\Mvc\Model\Query->_getExpression() method calls phalcon_orm_singlequotes() on all the strings, replacing single quotes by a html_entity version of it.
So the question is, how to configure Phalcon [or the models] so it doesn't automatically escape the quotes ? Thanks in advance.