i am using a custom mongo db activity when i run this but i got an error i dont know abhout mongodb.shared.hasher can someone help me to fix this please
Hi @imumeriqbal ,
You can check
Hi! Here is a video based on this tutorial. So you can watch it, or you can read about it in this tutorial! Or you can do both! 🙂 Please let me know if you have any questions and if something would be not understandable. This is a...
Reading time: 2 mins 🕑
Likes: 2 ❤
You may use Invoke Code Activity
Add the MongoDb package.
MongoDB.Driver 2.11.2
Import the namespace.
[image]
You can use Invoke Code activity
[image]
Add the following C# code
var client = new MongoClient("<mongo-db-string>");
Console.WriteLine("Client"+client);
// get the test database
var db = client.GetDatabase("test");
Console.WriteLine("db"+db);
// gets a collection named "foo" using a BsonDocument
var collection = db.GetCollection<BsonDocument>("sample8");
Conso…
regards