Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

我知道这个问题可能挺小白的(本人后端小白),不过真的是查了半天没查明白。问题是这样的:
我看了一些mongoose的文档,要对数据库操作都要先定义一个schema,这玩意我大概知道他是啥,但是文档里schema都是手写的,我觉得好麻烦,也觉得不科学,那么有没有从数据库的某个表,直接映射一个schema出来而不用自己手写的方法呢。。。。。谢谢大家。。。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.4k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...