eggjs / eggjs/egg

egg-mongoose Schema Options 不生效

Open
#4,657 1 comment 0 reactions 0 assignees View on GitHub
Inactive
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

1、指定了 _id: false 返回的结果仍然有 _id
2、find 的数据如何合并到另外一个对象?(目前会有额外的底层属性出现,每个数据都使用 toJSON 不太优雅)
![image](https://user-images.githubusercontent.com/50655436/114564146-a57d0100-9ca2-11eb-8fb7-3f84dbb2f08f.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.