Hi,
I try to fetch mysql comment field for model attributes. Is there a way to do this easely ?
Thanks a lot
Hi,
I try to fetch mysql comment field for model attributes. Is there a way to do this easely ?
Thanks a lot
It will be nice to have this feature
To get the comments you can parse the result returned from
SHOW CREATE TABLE myTable;
or use the information_schema database
select column_comment from columns where table_name='your-table' and column_name='your column';