我有这个查询:
$dql = "SELECT g FROM \Synchro\Entity\Geographicalarea g WHERE g.nameGeographicalArea=".$this->GetSQLValueString($nameGeographicalArea,"text")." AND g.codeGeo='".$codeGeo."' ";
当我跑步时我得到此错误:
[语义错误]第0行,第57列附近 'nameGeographicalArea ='Alsace'':错误:类 Synchro \ Entity \ Geographicalarea没有命名的字段或关联 nameGeographicalArea
我该如何解决?
提前致谢