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

not shown how to pass collections assignment at CLI

    XMLWordPrintable

Details

    Description

      you have shown how to create a document that goes into the default collection, using cbc-create. what you have not shown is how to pass an arg specifying which specific collection a K/V is assigned to .
      i.e.
      /opt/couchbase/bin/cbc create -u Administrator -P password testDocument1 \
      -U couchbase://localhost/testBucket --collection=myCollection \
      -V '

      {"key1" : "value1"}

      '

      what is the arg flag for specifying collections? I used --collection in my example.

      Reporter: Chris Haynes
      E-mail: chris.haynes@couchbase.com

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tony.hillman Tony Hillman (Inactive)
              chaynes Chris Haynes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty