Skip to content

Commit 7e28603

Browse files
chore: update auto-generated files [skip actions]
1 parent f7a69db commit 7e28603

File tree

10 files changed

+134
-471
lines changed

10 files changed

+134
-471
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ Alessandro Miliucci <[email protected]>
5959
Ahmad Shah <[email protected]>
6060
Kush Patel <[email protected]>
6161
Taylor Cannon <[email protected]>
62+
Ilya Epelbaum <[email protected]>

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ variable. For detailed instructions for each of our supported platforms, please
4444
--eval [arg] Evaluate javascript
4545
--json[=canonical|relaxed] Print result of --eval as Extended JSON, including errors
4646
--retryWrites[=true|false] Automatically retry write operations upon transient network errors (Default: true)
47+
--deep-inspect[=true|false] Force full depth inspection of server results (default: true if in interactive mode)
4748
4849
Authentication Options:
4950

THIRD_PARTY_NOTICES.md

Lines changed: 126 additions & 189 deletions
Large diffs are not rendered by default.

configs/tsconfig-mongosh/AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ Le Roux Bodenstein <[email protected]>
22
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
33
Anna Henningsen <[email protected]>
44
Paula Stachova <[email protected]>
5+
Gagik Amaryan <[email protected]>

packages/cli-repl/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ of mongosh, visit https://www.mongodb.com/try/download/shell.
2929
--eval [arg] Evaluate javascript
3030
--json[=canonical|relaxed] Print result of --eval as Extended JSON, including errors
3131
--retryWrites[=true|false] Automatically retry write operations upon transient network errors (Default: true)
32+
--deep-inspect[=true|false] Force full depth inspection of server results (default: true if in interactive mode)
3233
3334
Authentication Options:
3435

packages/errors/generated/error-overview.md

Lines changed: 0 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -3,137 +3,3 @@
33
To quickly find an error by its code, search for the code in this overview.
44

55
## Table of Contents
6-
7-
- [@mongosh/async-rewriter2](#@mongosh/async-rewriter2)
8-
9-
- [@mongosh/cli-repl](#@mongosh/cli-repl)
10-
11-
- [@mongosh/errors](#@mongosh/errors)
12-
13-
- [@mongosh/shell-api](#@mongosh/shell-api)
14-
15-
## @mongosh/async-rewriter2
16-
17-
#### `ASYNC-10012`
18-
19-
Signals the use of a Mongosh API call in a place where it is not supported.
20-
This occurs inside of constructors and (non-async) generator functions.
21-
22-
Examples causing error:
23-
24-
```javascript
25-
class SomeClass {
26-
constructor() {
27-
this.list = db.coll.find().toArray();
28-
}
29-
}
30-
31-
function*() {
32-
yield* db.coll.find().toArray();
33-
}
34-
```
35-
36-
**Solution: Do not use calls directly in such functions. If necessary, place these calls in an inner 'async' function.**
37-
38-
#### `ASYNC-10013`
39-
40-
Signals the iteration of a Mongosh API object in a place where it is not supported.
41-
This occurs inside of constructors and (non-async) generator functions.
42-
43-
Examples causing error:
44-
45-
```javascript
46-
class SomeClass {
47-
constructor() {
48-
for (const item of db.coll.find()) { ... }
49-
}
50-
}
51-
52-
function*() {
53-
for (const item of db.coll.find()) yield item;
54-
yield* db.coll.find();
55-
}
56-
```
57-
58-
**Solution: Do not use calls directly in such functions. If necessary, place these calls in an inner 'async' function.**
59-
60-
## @mongosh/cli-repl
61-
62-
#### `CLIREPL-10001`
63-
64-
Signals that the currently installed Node version does not match the one expected by mongosh.
65-
66-
See the output for further details on the required Node version.
67-
68-
## @mongosh/errors
69-
70-
#### `COMMON-10001`
71-
72-
Signals calling an API method with an invalid argument.
73-
74-
**Solution: See the error output for details on allowed argument values.**
75-
76-
#### `COMMON-10002`
77-
78-
Signals calling an API method that is not allowed in the current state.
79-
80-
**Solution: See the error output for details.**
81-
82-
#### `COMMON-10003`
83-
84-
Signals calling an API method that has been deprecated or using an argument or option of an API method that has been deprecated
85-
and therefore is no longer supported.
86-
87-
**Solution: See the error output for details on alternatives or consult the official documentation.**
88-
89-
#### `COMMON-10004`
90-
91-
Signals an error while running a specific command against the database.
92-
93-
**Solution: Check the error output for more details and ensure the database is healthy and available.**
94-
95-
#### `COMMON-90001`
96-
97-
Signals an unexpected internal error of mongosh.
98-
99-
**Please file a bug report for the `MONGOSH` project here: https://jira.mongodb.org.**
100-
101-
#### `COMMON-90002`
102-
103-
Signals usage of a method that is not implemented yet.
104-
105-
**See the error output for details.**
106-
107-
## @mongosh/shell-api
108-
109-
#### `SHAPI-10001`
110-
111-
Signals calling a method that requires sharding for a collection that is not sharded
112-
or a database that does not have sharding enabled.
113-
114-
**Solution: Be sure to enable sharding on the database or that the collection is sharded.**
115-
116-
#### `SHAPI-10002`
117-
118-
Signals calling a method requiring a replica set without being connected to a replica set.
119-
120-
**Solution: Make sure you are connected to a replica set.**
121-
122-
#### `SHAPI-10003`
123-
124-
Signals calling a method that requires to be connected to a `mongos` instead of just a `mongod`.
125-
126-
**Solution: Ensure you are connected to a `mongos` instances.**
127-
128-
#### `SHAPI-10004`
129-
130-
Signals calling an operation that requires an active database connection without being connected.
131-
132-
**Solution: Connect to a database before executing the operation.**
133-
134-
#### `SHAPI-10005`
135-
136-
Signals calling a method that requires a Mongo object with field-level encryption options
137-
when none were passed.
138-
139-
**Solution: Create a new Mongo object with the correct field-level encryption options first.**
Lines changed: 0 additions & 148 deletions
Original file line numberDiff line numberDiff line change
@@ -1,148 +0,0 @@
1-
@mongosh/async-rewriter2
2-
------------------------
3-
4-
``ASYNC-10012``
5-
~~~~~~~~~~~~~~~
6-
7-
Signals the use of a Mongosh API call in a place where it is not supported.
8-
This occurs inside of constructors and (non-async) generator functions.
9-
10-
Examples causing error:
11-
12-
.. code-block:: javascript
13-
14-
class SomeClass {
15-
constructor() {
16-
this.list = db.coll.find().toArray();
17-
}
18-
}
19-
20-
function*() {
21-
yield* db.coll.find().toArray();
22-
}
23-
24-
25-
26-
**Solution: Do not use calls directly in such functions. If necessary, place these calls in an inner 'async' function.**
27-
28-
``ASYNC-10013``
29-
~~~~~~~~~~~~~~~
30-
31-
Signals the iteration of a Mongosh API object in a place where it is not supported.
32-
This occurs inside of constructors and (non-async) generator functions.
33-
34-
Examples causing error:
35-
36-
.. code-block:: javascript
37-
38-
class SomeClass {
39-
constructor() {
40-
for (const item of db.coll.find()) { ... }
41-
}
42-
}
43-
44-
function*() {
45-
for (const item of db.coll.find()) yield item;
46-
yield* db.coll.find();
47-
}
48-
49-
50-
51-
**Solution: Do not use calls directly in such functions. If necessary, place these calls in an inner 'async' function.**
52-
53-
@mongosh/cli-repl
54-
-----------------
55-
56-
``CLIREPL-10001``
57-
~~~~~~~~~~~~~~~~~
58-
59-
Signals that the currently installed Node version does not match the one expected by mongosh.
60-
61-
See the output for further details on the required Node version.
62-
63-
@mongosh/errors
64-
---------------
65-
66-
``COMMON-10001``
67-
~~~~~~~~~~~~~~~~
68-
69-
Signals calling an API method with an invalid argument.
70-
71-
**Solution: See the error output for details on allowed argument values.**
72-
73-
``COMMON-10002``
74-
~~~~~~~~~~~~~~~~
75-
76-
Signals calling an API method that is not allowed in the current state.
77-
78-
**Solution: See the error output for details.**
79-
80-
``COMMON-10003``
81-
~~~~~~~~~~~~~~~~
82-
83-
Signals calling an API method that has been deprecated or using an argument or option of an API method that has been deprecated
84-
and therefore is no longer supported.
85-
86-
**Solution: See the error output for details on alternatives or consult the official documentation.**
87-
88-
``COMMON-10004``
89-
~~~~~~~~~~~~~~~~
90-
91-
Signals an error while running a specific command against the database.
92-
93-
**Solution: Check the error output for more details and ensure the database is healthy and available.**
94-
95-
``COMMON-90001``
96-
~~~~~~~~~~~~~~~~
97-
98-
Signals an unexpected internal error of mongosh.
99-
100-
**Please file a bug report for the ``MONGOSH`` project here: https://jira.mongodb.org.**
101-
102-
``COMMON-90002``
103-
~~~~~~~~~~~~~~~~
104-
105-
Signals usage of a method that is not implemented yet.
106-
107-
**See the error output for details.**
108-
109-
@mongosh/shell-api
110-
------------------
111-
112-
``SHAPI-10001``
113-
~~~~~~~~~~~~~~~
114-
115-
Signals calling a method that requires sharding for a collection that is not sharded
116-
or a database that does not have sharding enabled.
117-
118-
**Solution: Be sure to enable sharding on the database or that the collection is sharded.**
119-
120-
``SHAPI-10002``
121-
~~~~~~~~~~~~~~~
122-
123-
Signals calling a method requiring a replica set without being connected to a replica set.
124-
125-
**Solution: Make sure you are connected to a replica set.**
126-
127-
``SHAPI-10003``
128-
~~~~~~~~~~~~~~~
129-
130-
Signals calling a method that requires to be connected to a ``mongos`` instead of just a ``mongod``.
131-
132-
**Solution: Ensure you are connected to a ``mongos`` instances.**
133-
134-
``SHAPI-10004``
135-
~~~~~~~~~~~~~~~
136-
137-
Signals calling an operation that requires an active database connection without being connected.
138-
139-
**Solution: Connect to a database before executing the operation.**
140-
141-
``SHAPI-10005``
142-
~~~~~~~~~~~~~~~
143-
144-
Signals calling a method that requires a Mongo object with field-level encryption options
145-
when none were passed.
146-
147-
**Solution: Create a new Mongo object with the correct field-level encryption options first.**
148-

packages/java-shell/AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,4 @@ Gagik Amaryan <[email protected]>
1717
mongodb-devtools-bot[bot] <189715634+mongodb-devtools-bot[bot]@users.noreply.github.com>
1818
1919
20+
Ilya Epelbaum <[email protected]>

packages/mongosh/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ of mongosh, visit https://www.mongodb.com/try/download/shell.
3333
--eval [arg] Evaluate javascript
3434
--json[=canonical|relaxed] Print result of --eval as Extended JSON, including errors
3535
--retryWrites[=true|false] Automatically retry write operations upon transient network errors (Default: true)
36+
--deep-inspect[=true|false] Force full depth inspection of server results (default: true if in interactive mode)
3637
3738
Authentication Options:
3839

packages/shell-bson/AUTHORS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
Anna Henningsen <[email protected]>
22
mongodb-devtools-bot[bot] <189715634+mongodb-devtools-bot[bot]@users.noreply.github.com>
3+
4+
Gagik Amaryan <[email protected]>

0 commit comments

Comments
 (0)