Skip to content

Commit c5d1e79

Browse files
authored
Couchbase source connector: new optional collection ID field (#391)
1 parent e51885c commit c5d1e79

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

snippets/general-shared-text/couchbase-cli-api.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@ These environment variables are required for the Couchbase Connector:
1515
- `CB_PASSWORD` - The password for the Couchbase server, represented by `--password` (CLI) or `password` (Python).
1616
- `CB_BUCKET` - The name of the bucket in the Couchbase server, represented by `--bucket` (CLI) or `bucket` (Python).
1717
- `CB_SCOPE` - The name of the scope in the bucket, represented by `--scope` (CLI) or `scope` (Python).
18-
- `CB_COLLECTION` - The name of the collection in the scope, represented by `--collection` (CLI) or `collection` (Python).
18+
- `CB_COLLECTION` - The name of the collection in the scope, represented by `--collection` (CLI) or `collection` (Python).
19+
20+
Additional available settings include:
21+
22+
- `--collection-id` (CLI) or `collection_id` in `CouchbaseDownloaderConfig` (Python) - Optional for the source connector. The
23+
unique key of the ID field in the collection. The default is `id` if not otherwise specified.
24+
[Learn more](https://docs.couchbase.com/server/current/learn/services-and-indexes/indexes/indexing-and-query-perf.html#introduction-document-keys).

0 commit comments

Comments
 (0)