T: where EntityBase
{
Var db=GetMongoDatabase (the connectionString, dbName);
Var collection=db. GetCollection
Return the collection. The.findall (). ToList ();
}
CodePudding user response:
Make sure this is the network consumption for 20 seconds, take each takes up much consumption dataCodePudding user response:
Explain () have a look, can use the index to optimize the firstCodePudding user response:
Well, why to put so much in one data into the list, this is the page and use a cursor or iterator