本文介绍了自动引用与原则2保留的词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在使用 $ entityManager-> find('entity',id)
?
当使用查询构建器时,可以完成此操作,但应该有一个全局配置设置?我不想在保留字的注释中指定它。
When using the query builder this can be done but there should be a global configuration setting that does this? I don't want to have to specify it in the annotations for the reserved words.
推荐答案
这是一个我提出的问题而与Doctrine团队一起回来。
This was an issue I raised a while back with the Doctrine team.
该票已关闭,并附有注释:
The ticket was closed with the comment:
所以我想您需要处理注释中的任何保留关键字
So I guess you'd need to deal with any reserved keywords in your annotations
这篇关于自动引用与原则2保留的词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!