On Thursday, August 27, 2015, Andrus Adamchik <and...@objectstyle.org>
wrote:

> Hi John,
>
> Thanks for the feedback.
>
> > On Aug 27, 2015, at 3:26 PM, John Huss <johnth...@gmail.com
> <javascript:;>> wrote:
> >
> > I'd like to have structured data that can be inspected for particular
> keys,
> > usually attribute names. Rather than a serialized form. My use involves
> > setting a modification time but only if some interesting parts were
> changed.
>
> Yeah, there's an object behind this JSON of course, that can be
> inspected/modified. Just showing JSON to demonstrate what's in there.
>
> > For what it's worth, what Wonder has is two dictionaries, one with the
> > committed values and one with the current values, and the changes can be
> > derived from that.
>
> How does it track relationship changes, deletes, etc. ? Or does it provide
> *DB* snapshots?


It's object level not db.  To-one relationships are just part of the
dictionaries.  To-many relationships are included I think, but I don't
remember the details.  Deletes aren't tracked this way, it's really just
for updates.

I have an implementation for cayenne but I wouldn't inflict it on anyone
else.  The proper implementation would need to look at the ObjectDiffs,
right?


> Andrus

Reply via email to