before you insert a recorrd, there are no values there, indeed :) . but if you were thinking on an update event, you may perform a select to get the current values of the record. a trigger is closer to the database, though ...
alex On Tue, Sep 9, 2008 at 10:12 PM, gjhames <[EMAIL PROTECTED]> wrote: > > In the after_insert or before_insert events I only catch the new > attributes of the object. I wish to get the old values. > Thanks. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SQLElixir" 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/sqlelixir?hl=en -~----------~----~----~----~------~----~------~--~---
