2009年9月22日星期二

Re: [fw-db] Modeling MySQL enum

http://www.whitewashing.de/blog/articles/120

2009/9/22 umpirsky <umpirsky@gmail.com>:
>
> Hi.
>
> I wonder what is the best way to model MySQL enums? Class with constants, or
> array of constants, or maybe sth else? You need to render options in
> templates (<select>) or to use enum values allll over the code.
>
> So, what is the right way to go?
>
> Regards,
> Saša Stamenković.
> --
> View this message in context: http://www.nabble.com/Modeling-MySQL-enum-tp25530643p25530643.html
> Sent from the Zend DB mailing list archive at Nabble.com.
>
>

--
----------------------------------------------------------------------
[MuTe]
----------------------------------------------------------------------

没有评论: