How to insert a document to MongoDB if a compound key is not present using Spring

后端 未结 0 620
梦谈多话
梦谈多话 2020-12-01 00:22

I have the following class:

@Document
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SomeCollection {
  @Id
  private String id;
  private String o         


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