Re: Using hash to see if object's attributes have changed

2009-12-11 Thread Steven D'Aprano
On Fri, 11 Dec 2009 10:03:06 -0800, Bryan wrote: > When a user submits a request to update an object in my web app, I make > the changes in the DB, along w/ who last updated it and when. I only > want to update the updated/updatedBy columns in the DB if the data has > actually changed however. >

Re: Using hash to see if object's attributes have changed

2009-12-11 Thread Bryan
On Dec 11, 10:17 am, Robert Kern wrote: > On 2009-12-11 12:03 PM, Bryan wrote: > > > When a user submits a request to update an object in my web app, I > > make the changes in the DB, along w/ who last updated it and when.  I > > only want to update the updated/updatedBy columns in the DB if the >

Re: Using hash to see if object's attributes have changed

2009-12-11 Thread Robert Kern
On 2009-12-11 12:03 PM, Bryan wrote: When a user submits a request to update an object in my web app, I make the changes in the DB, along w/ who last updated it and when. I only want to update the updated/updatedBy columns in the DB if the data has actually changed however. I'm thinking of havi

Using hash to see if object's attributes have changed

2009-12-11 Thread Bryan
When a user submits a request to update an object in my web app, I make the changes in the DB, along w/ who last updated it and when. I only want to update the updated/updatedBy columns in the DB if the data has actually changed however. I'm thinking of having the object in question be able to re