Hi all,
On the documentation https://docs.phalcon.io/en/latest/reference/models.html It says:
Both find() and findFirst() methods accept an associative array specifying the search criteria:
I was wondering if the first example does the binding automatically or not.
$robot = Robots::findFirst(array(
"type = 'virtual'",
"order" => "name DESC",
"limit" => 30
));
$robots = Robots::find(array(
"conditions" => "type = ?1",
"bind" => array(1 => "virtual")
));
Thank you