I'm trying to change this normal SQL statment, where I use "where" with or, to a Zend\Db\Sql\Sql Object.
However I cant figure out how to write the "where" clause.
this is the code before:
SELECT column
FROM Table
WHERE value = num OR value2 = num
and this is how i'm trying to make it look like:
$sql = new Sql($adapter);
$select = $sql->select();
$select->from(Table);
$select->where(?);
$sql->where(array('id = ?' => $id));would work, too.