How to get the names of all columns in a doctrine entity?
标签:
doctrine-orm
相关问题
- Lifecycle Callback Issue When Extending FOSUserBun
- Doctrine 2.5: Unrecognized field (but only in Symf
- Doctrine return null in place of EntityNotFoundExc
- two many2many self-referencing collection
- Doctrine inheritance for entities common fields
相关文章
- Symfony : Doctrine data fixture : how to handle la
- Is there a way to modify the entity mapping config
- Get random records with Doctrine
- Doctrine not finding data on Google App Engine?
- Doctrine 2: Cannot select entity through identific
- Symfony does not remove entity from collection
- Symfony doctrine:schema:update not working
- Storing Doctrine2 DateTime in UTC Only
As described in the documentation for ClassMetadataInfo you can use the
getColumnNames
method: