File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ interface TestNumber {
19
19
myNumber : number ;
20
20
}
21
21
22
- const database = client . db ( "<your db >" ) ;
22
+ const database = client . db ( "<your database >" ) ;
23
23
const collection = db . collection < TestNumber > ( "..." ) ;
24
24
collection . find ( { someRandomKey : "Accepts any type!" } ) ;
25
25
// end-no-key
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ The following code snippet uses the preceding recursive type:
104
104
105
105
.. code-block:: typescript
106
106
107
- const database = client.db("<your db >");
107
+ const database = client.db("<your database >");
108
108
const col = database.collection<RecursiveType>("<your collection>");
109
109
const document = await col.findOne({ i: 1 });
110
110
You can’t perform that action at this time.
0 commit comments