@tomsd/mongodbclient 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +0 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,14 +34,6 @@ const items = [
34
34
  const { insertedCount } = await mdbc.insertMany(items);
35
35
  console.log(insertedCount); // 4
36
36
 
37
- const collections = await mdbc.getCollections();
38
- console.log(
39
- collections.some(
40
- // @ts-ignore
41
- collection => collection.s.namespace.db === dbName
42
- )
43
- ); // true
44
-
45
37
  const docs = await mdbc.read();
46
38
  console.log(docs);
47
39
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomsd/mongodbclient",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "",
5
5
  "main": "dist/cjs/mongodbclient.js",
6
6
  "module": "dist/esm/mongodbclient.js",