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

Is Wording Confusing?

    XMLWordPrintable

Details

    Description

      In Mobile Android Java Docs under Indexing:
      "If there are multiple expressions, the first one will be the primary key, the second the secondary key, etc."

      In Traditional Database, a Primary Key must be a unique for each record. If the syntax being described is actually analogous to Composite Indexes there would be no such constraint.

      Personally, I usually say leading attribute to indicate the first JSON attribute (since the word "key" is used in so many contexts that it routinely confuses people.) So I always speak of JSON properties as attribute-value pairs. And in Traditional Database terms the entire data structure is a Secondary Index, so talking about a "secondary key" is doubly confusing.

      Reporter: Tony Duarte
      E-mail: tony.duarte@couchbase.com

      Attachments

        Activity

          People

            Ian.bridge Ian Bridge
            tony.duarte Tony Duarte (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty