1.8.0 • Published 3 years ago
ms-mongo v1.8.0
Usage:
import {MongoClient} from "ms-mongo";Use MongoClient.GetInstance().SetConnection() once in your bootstrap script.
Methods:
FindMany,
InsertOne,
InsertMany,
UpdateOne,
DropCollection,
CountExample:
MongoClient
.GetInstance()
.FindMany("collectionName", {
key: "value"
})
.toArray()