Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-7797

Document changes to reserved word handling

    XMLWordPrintable

Details

    Description

      In 3.0, we have prevented the _id, _rev, and _deleted keys to be used externally by users. An exception with error code 5 (CorruptRevisionData) with the error message as “Illegal top-level keys ‘<KEY>’ in document ” will be thrown when saving a document that uses _id, _rev, or _deleted key.

      Need to highlight this in documentation:

      • In release notes changed behaviors
      • couchbase-lite/2.8/csharp/learn/csharp-document.html#document-constraints 
        *

      Attachments

        Issue Links

          Activity

            People

              Ian.bridge Ian Bridge
              Ian.bridge Ian Bridge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty