Mark, I find myself needing to do as you suggest here, but what would be the syntax in my decorator?
<cffunction name="configure" access="private" returntype="void" output="false"> <cfset setLastLogin(NULL) /> </cffunction> This one does not work. I also wanted to know if I have a way of setting setLastLoginIsNull() to True. Thanks, Dan On Wed, Nov 12, 2008 at 4:29 PM, Mark Mandel <[EMAIL PROTECTED]> wrote: > > Either that or just set the update to null on config(), and then only > change the update column when saving.. works too. > > Mark > > On Wed, Nov 12, 2008 at 9:52 PM, Dan O'Keefe <[EMAIL PROTECTED]> wrote: > >> > In some cases there are dates for recording when a table is last > updated > >> > or > >> > first added. I am planning to use a decorator to set the dates on > those > >> > columns. Should I also set the definition as ignore-insert and > >> > ignore-update > >> > in those cases? > >> > >> Setting it to ignore on insert or update will mean it won't get > >> inserted/updated in the database - don't you want to set these vales? > >> > >> Mark > > > > I think he would want ignore-insert on the updatedDate and updatedBy > columns > > for example, and ignore-update on his createDate and createdBy columns. > > Dan > > > > > > > > > -- > E: [EMAIL PROTECTED] > W: www.compoundtheory.com > > > > --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
