推荐工具
› RoboMongo
推荐书目
› 50 Tips and Tricks for MongoDB Developers
Related Blogs
› Snail in a Turtleneck
refresh
V2EX  ›  MongoDB

mongodb 如何设计一个有多级分类的 collection

  •  
  •   refresh · Apr 24, 2014 · 6542 views
    This topic created in 4540 days ago, the information mentioned may be changed or developed.
    分类级别估计不会超过10级,总的分类估计不会大于1000,是用传统table的那种方式,就是一个分类一条记录,标明上级的那种。
    还是用一个document,直接存json,要考虑查询。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5010 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 01:23 · PVG 09:23 · LAX 18:23 · JFK 21:23
    ♥ Do have faith in what you're doing.