Exemplo n.º 1
0
 protected function _processWhereId(SimDAL_Query_Where_Id $where)
 {
     $primary_key_column = $where->getLeftValue();
     $output = $primary_key_column->getTable() . '.' . $primary_key_column->getColumn();
     $output .= ' = ' . $this->_transformData($primary_key_column->getProperty(), $where->getRightValue(), $primary_key_column->getClass());
     return $output;
 }
Exemplo n.º 2
0
 protected function _processWhereId(SimDAL_Query_Where_Id $where)
 {
     $primary_key_column = $where->getLeftValue();
     $output = $primary_key_column->getTable() . '.' . $primary_key_column->getColumn();
     $output .= ' = ' . $where->getRightValue();
     return $output;
 }