This strange problem. I use mongoose to create a schema and model and ,then save something into database. Because this is a new collections. mongodb create the collection automatical. But I find that the collections name is diffrent to the definiton in mongoose model function.
Example: In Script: chessMD = mogoose.model("chessDB",chessSchema);
but in mongodb client After I use show collections, the collection name is chessdbs;
anyone know the reason?