How do I apply pagination in the animals
field using C# with MongoDB .Net driver?
The schema is:
[{
id: 1,
name: "Tom",
animals: ["cat", "dog", "fish", "bear", "dog1", "fish1", "bear1",]
},
{
id: 2,
name: "Rob",
animals: ["shark", "snake", "fish", "bear", "panda"]
},
{
id: 3,
name: "Matt",
animals: ["cat", "fish", "bear"]
}]