LiZheGuang / LiZheGuang/JS-

lodash查询_id查不出来的原因

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

mongodb的_id类型是Object,如果进行查询需要转换一下 String的格式!

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue reports that querying MongoDB's _id does not work because its value is an Object rather than a String. Start by locating the repository code that performs this query and verify the expected _id type. Done means the query returns the intended record after the type conversion is handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.