Skip to content

Commit ed65e4f

Browse files
committed
docs: add namespace documentation
1 parent 94a5f24 commit ed65e4f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/operations/client_bulk_write/common.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,14 @@ export interface ClientBulkWriteOptions extends CommandOperationOptions {
2727

2828
/** @public */
2929
export interface ClientWriteModel {
30-
/** The namespace for the write. */
30+
/**
31+
* The namespace for the write.
32+
*
33+
* A namespace is a combination of the database name and the name of the collection: `<database-name>.<collection>`.
34+
* All documents belong to a namespace.
35+
*
36+
* @see https://www.mongodb.com/docs/manual/reference/limits/#std-label-faq-dev-namespace
37+
*/
3138
namespace: string;
3239
}
3340

0 commit comments

Comments
 (0)