This topic created in 4600 days ago, the information mentioned may be changed or developed.
从mongodb切换到mongoose 到后,mongoose没有办法读取修改mongodb创建的表和数据。对mongoose自己创建的表是可以的。请教,这是何解?
8 replies • 1970-01-01 08:00:00 +08:00
 |
|
试试 _id:false ?
|
 |
|
有什么提示吗? 是不是定义的Schema不对。。
|
 |
|
@ ijse 没有错误提示,schema 检查好多边的。
|
 |
|
versionKey ?
|
 |
|
实在不行做一次migration就可以了
|
 |
|
把你的关键代码贴一下?
|