UnhandledPromiseRejectionWarning: MongoError: E11000 duplicate key error collection: db.footballers index: data_1 dup key: { data: null }

前端 未结 0 1968
时光说笑
时光说笑 2021-01-20 05:49

Here is my schema

const mongoose = require("mongoose");

const footballersSchema = new mongoose.Schema({
    name: {
        type: String,
        r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题