Skip to content

Commit 294a386

Browse files
committed
DOCSP-43494 copy edits
1 parent 3e19dd9 commit 294a386

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

source/copilot-docs.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The chat first provides the following MongoDB documentation:
3636
- `Getting Started with MongoDB and Java - CRUD Operations Tutorial <https://www.mongodb.com/developer/languages/java/java-setup-crud-operations>`__
3737
- `db.collection.createIndex() <https://mongodb.com/docs/manual/reference/method/db.collection.createIndex/>`__
3838

39-
The |copilot| also returns a textual response with information about
39+
The |copilot| also returns a text response with information about
4040
creating an index:
4141

4242
.. code-block:: none

source/copilot-query.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Consider the ``users`` collection in the `Mflix Sample Database
3131
<https://www.mongodb.com/docs/atlas/sample-data/sample-mflix/#sample_mflix.users>`__.
3232
Each document in the collection has the following structure:
3333

34-
.. code-block:: javascript
34+
.. code-block:: none
3535
:copyable: false
3636

3737
{
@@ -48,7 +48,7 @@ collection, you can ask the GitHub Copilot chat to generate a query that
4848
finds the document in the ``users`` collection that has the ``name``
4949
value of ``Kayden Washington``.
5050

51-
.. code-block:: javascript
51+
.. code-block:: none
5252
:copyable: false
5353

5454
@MongoDB /query In the sample_mflix database, find a document in the
@@ -57,7 +57,7 @@ value of ``Kayden Washington``.
5757
The GitHub Copilot Chat uses the |copilot| to
5858
generate the following query using knowledge of your database schema:
5959

60-
.. code-block:: javascript
60+
.. code-block:: none
6161

6262
use(`sample_mflix`);
6363
db.getCollection('users').findOne({ name: 'Kayden Washington' });
@@ -77,7 +77,7 @@ the ``users`` collection in the `Mflix Sample Database
7777
<https://www.mongodb.com/docs/atlas/sample-data/sample-mflix/#sample_mflix.users>`__.
7878
Each document in the collection has the following structure:
7979

80-
.. code-block:: javascript
80+
.. code-block:: none
8181
:copyable: false
8282

8383
{
@@ -92,7 +92,7 @@ Each document in the collection has the following structure:
9292
Once you connect to the deployment that contains the ``users``
9393
collection, you can ask the GitHub Copilot chat to generate an aggregation pipeline.
9494

95-
.. code-block:: javascript
95+
.. code-block:: none
9696
:copyable: false
9797

9898
@MongoDB /query Generate an aggregation pipeline on the users
@@ -101,7 +101,7 @@ collection, you can ask the GitHub Copilot chat to generate an aggregation pipel
101101

102102
The |copilot| generates the following aggregation pipeline:
103103

104-
.. code-block:: javascript
104+
.. code-block:: none
105105

106106
use('sample_mflix');
107107
db.getCollection('users').aggregate([
@@ -118,7 +118,7 @@ directly or open the pipeline in a playground.
118118

119119
You can also iteratively build on your aggregation pipeline:
120120

121-
.. code-block:: javascript
121+
.. code-block:: none
122122
:copyable: false
123123

124124
@MongoDB /query Add a stage to my pipeline that adds a username field
@@ -127,7 +127,7 @@ You can also iteratively build on your aggregation pipeline:
127127

128128
The |copilot| returns the following aggregation pipeline:
129129

130-
.. code-block:: javascript
130+
.. code-block:: none
131131

132132
use('sample_mflix');
133133
db.getCollection('users').aggregate([

0 commit comments

Comments
 (0)