Entity.findByName is not a function #100
-
0.9文档里有提到全局查找实体的方法Entity.findByName,实际使用时报错Entity.findByName is not a function,离谱 |
Beta Was this translation helpful? Give feedback.
Answered by
eyworldwide
Aug 30, 2023
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
GuoLei1990
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
findByName
是一个实例方法,不是静态方法,应该是entity.findByName
。文档有点误导,我们纠正一下。