I'm trying to make LIKE '%something%'
with Phalcon\Mvc\Model\Query with bound parameters.
Any ideas how to do it?
This didn't work for me:
$robots = Robots::query()
->where("type LIKE :type:")
->andWhere("year < 2000")
->bind(array("type" => "mechanical"))
->order("name")
->execute();