예제 #1
0
 protected function _processDeleteQuery(SimDAL_Mapper_Entity $mapping, $id)
 {
     $pk = $mapping->getPrimaryKeyColumn();
     $sql = "DELETE FROM " . $this->_quoteIdentifier($mapping->getTable()) . " WHERE `{$pk->getColumn()}`=" . $id;
     return $sql;
 }
예제 #2
0
파일: Id.php 프로젝트: andho/simdal
 public function getLeftValue()
 {
     return $this->_entity->getPrimaryKeyColumn();
 }