Good Morning,
i have some Trouble with the Zend Framework and Zend_DB_Select, i want to use this (Working) SQL Statement as Zend DB Select Statement :
select
oslang
from
oslang, os
where
oslang.oslang_id = os.oslang_id and
ossubversion_id = 1
I have tryed to following but it doenst work :
try {
$select = $this->_db->select()
->from('OSLANG')
->from('OS')
->where("OSLANG.OSLANG_ID = OS.OSLANG_ID")
->where("OSSUBVERSION_ID = ?", $subVersionId);
$results = $select->query()->fetchAll();
} catch (Exception $e) {
$this->_logException($e);
$results = array();
}
it must be possible that more than one OS is associated with an OSLANG_ID
Does someone has an nice idea where my error is ?