Class JournalDiff

  • All Implemented Interfaces:

    
    public class JournalDiff
    
                        
    Perform a diff on the CUD of the table. There are 3 states,
    `value1` is the old value and `value2` is the new value
    
    * insert - value1 == empty, value2 != empty
    * update - value1 != empty, value2 != empty
    * delete - value1 != empty, value2 == empty
    
    In addition, `column.size` x `count` == `value#.size`,
    which can represent multiple records.
    
    Strong type when generated, but type is lost after JSON serialization,
    when JSON deserialized, value only has String and Number type
    
    Since:

    2022-10-23

    Author:

    trydofor