For ReactoveMongoTemplate.createCollection(String collectionName), is there way to not create the collection if it already exists?

后端 未结 0 1358
青春惊慌失措
青春惊慌失措 2021-02-18 16:28

ReactoveMongoTemplate.createCollection(String collectionName) method creates a new blank collection. If the collection exists, it gives error.

But is there any other way

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