Method shouldInsert and shouldUpdate will update time in Person Model. Call executeUpdateQuery, then unsavedchanges don’t include createTime and modifiedTime changes, when reload, unsavedchangess include createTime and modifiedTime changes but conflict db data, but unsavedChangeValue class is different with fieldValue class, cause an exception.
Find a bug when run FCModelTest Demo.
Method
shouldInsert
andshouldUpdate
will update time in Person Model. CallexecuteUpdateQuery
, then unsavedchanges don’t include createTime and modifiedTime changes, when reload, unsavedchangess include createTime and modifiedTime changes but conflict db data, but unsavedChangeValue class is different with fieldValue class, cause an exception.