Skip to content

[bug] DB 데이터 중복 및 unexist 처리 필요 #6

@OHHAKO

Description

@OHHAKO

🐞 버그 레포트

[ 문제상황 ]
mongodb 데이터를 CRUD 하면서 중복 혹은 존재하지 않는 데이터를 처리해야 한다.
findOne(), findOneAndDelete()를 호출하면
db에 해당 데이터가 존재하지 않음에도 불구하고 ERROR를 던지지 않으며, 기본적인 Object를 반환한다.

추후 처리 추가

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    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