0

I want to use my dyscriminator field in a datagrid filter and when i us this i have the error : [Semantical Error] line 0, col 83 near 'type LIKE :t': Error: Class Djoo\MyBundle\Entity\Structure has no field or association named type

Have you an idea ? Thanks

4

1 回答 1

0

我不认为教义会让你这样做。

您可以通过元数据获取鉴别器值:链接

但尝试使用教义_orm_class 按他们的类过滤对象:链接

于 2014-09-24T12:04:25.617 回答