|
Yeah, Enums basically are just a varchar, although on
the storage side the DB only stores an integer index to the value, so they are
quite space efficient. Basically passing in any string to an enum column is
fine, however if its not one of the enumerated values MySQL will store ‘’
in the column. That’s why I asked about whether validating the
input to setMyEnumCol() against the list of enumerated values would be something
Reactor could do, or whether it should be something that a developer should
build on top. Chris From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter
J. Farrell Doug Hughes said the following on 2/20/2006 9:41 AM: Do me one more favor: Can you send me what the cfqueryparam
would look like for both enum and set? I want to see how the data is
passed in and it’s various attributes. Doug ENUM: -- Peter J. Farrell :: Maestro PublishingMember Team Mach-II :: Member Team Fusionhttp://blog.maestropublishing.comCreate boilerplate beans and transfer objects for ColdFusion!Fire up a cup of Rooibos!http://rooibos.maestropublishing.com/-- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ |

