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

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

  •  
  •   refresh · Apr 24, 2014 · 6551 views
    This topic created in 4546 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   ·   2463 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 02:52 · PVG 10:52 · LAX 19:52 · JFK 22:52
    ♥ Do have faith in what you're doing.