← Back to team overview

u1db-discuss team mailing list archive

Re: Required data field

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12/2/2011 9:54 AM, Ben Lau wrote:
> Hi,
> 
> If I understand correctly, u1db is only an API for storing and
> sync "document" . A "document" is a JSON object with customized
> fields of data per application. The storage should be independent
> of u1db .
> 
> However, in order to make the sync engine works, application
> programer must provide extra field like the last modified time or
> revision no/id etc.
> 
> So I want to ask , what kind of fields that must be stored with
> "document"?
> 
> Thanks.
> 
> 
> 

Nothing is stored in the document. All of the metadata is stored
external to the users document content.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Yl18ACgkQJdeBCYSNAANZuACggME3aUvSERG915XveYYYznJD
h10An2sZ7hIQKUXlPBuEyHhbJU4OVyKb
=tGds
-----END PGP SIGNATURE-----


References