adding attributs in sync function?

2014-07-13 Thread Seung Chan Lim
Is it possible to add an attribute to a document in the sync funciton? For example. add a last updated attribute on a document with time stamp JSON.stringify(new Date())? I'm hoping to synchronize the clock using server-side clock not client-side. -- You received this message because you are

Re: adding attributs in sync function?

2014-07-13 Thread Jens Alfke
On Jul 13, 2014, at 7:33 PM, Seung Chan Lim djs...@gmail.com wrote: Is it possible to add an attribute to a document in the sync funciton? For example. add a last updated attribute on a document with time stamp JSON.stringify(new Date())? No; that would mess up the revision tracking,