You know, I had read the first one, even printed it out, but forgot about that. Thanks Mark,
Dan On Sun, Nov 23, 2008 at 7:13 PM, Mark Mandel <[EMAIL PROTECTED]> wrote: > > > http://docs.transfer-orm.com/wiki/Handling_Null_Values.cfm#Inserting_Null_Values > http://docs.transfer-orm.com/wiki/Generated_Methods.cfm#Property_Element > > So: > > <cfset setLastLoginNull() /> will set it to the configured Null value. > > Mark > > On Mon, Nov 24, 2008 at 11:10 AM, Dan O'Keefe <[EMAIL PROTECTED]> > wrote: > > 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 > >> > >> > > > > > > > > > > > > > -- > 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 -~----------~----~----~----~------~----~------~--~---
