So doc is the mobile document in a push replication where oldDoc is then the server doc? And in a pull replication doc is the server documentt and oldDoc is the mobile doc?
Obviously, this is important in designing the logic in the sync. function - and that’s why I want to be able to identify the direction so I can specify different rules for e.g. a document created from mobile and another document created on the server.
… looking at your response you say oldDoc refers to the current version that’s on the server. - where do I see new documents created on the server - and apply logic to them? Is that through adding them to channels?