Package-level declarations
Functions
Link copied to clipboard
A simplified version of Record.changed that differentiates between real value changes and changes that actually set the same value to a given field. The built-in Record.changed method consider every setter call on a record as a change which might be not beneficial in most of our use cases. Might be problematic to use with records that doesn't come from the database originally, mostly because the default values wouldn't be there on the created record, which could lead to inconsistency. Recommended to use when you grab a record from the DB, do something with it, and then you want to check if it has really changed before you execute an actual update against the DB.