Skip to content

@id 어노테이션이 붙은 document 객체에서 저장시 중복 인덱스 값 에러  #32

Description

@su-ram
E11000 duplicate key error collection
  • 유저 생성시 _id 필드에 @id 어노테이션 붙인 후 디비에 저장하면 중복된 인덱스라며 에러 발생
  • @id 어노테이션을 제거하고 필드명을 userid 로 변경 후 에러가 안 나오긴 했는데 이유는 모르겠다

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions