|
Chris, Fill a bug on the trac
site. Doug for some internal methods use _ before the function name, maybe he
missed that one. João Fernandes From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Blackwell Hi all, I’ve just run
into a conflict between a column name and a function in the TO. I had a column called
“Copy” but calling record.getCopy() in the record returns the
To.Copy() function, and my column is missing. Looking at the TO there
are also the methods isEqual and Configure, that could conceivably conflict
with someone’s column names. Should these not be prefixed with an
underscore “_” like all the other TO methods? As a way around this I
thought I could simply rename my column and then use a field alias to call it
“Copy”, but this doesn’t work either. If these method names
can’t be changed then how about making reactor throw an error when it
encounters a reserved column name or alias, this would only add a tiny overhead
in development mode. Cheers,
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] Column name and TO function conflict Chris Blackwell
- RE: [Reactor for CF] Column name and TO function conf... João Fernandes
- Re: [Reactor for CF] Column name and TO function conf... Beth Bowden
- RE: [Reactor for CF] Column name and TO function conf... Doug Hughes
- RE: [Reactor for CF] Column name and TO function conf... Chris Blackwell
