sujin190
V2EX  ›  问与答

怎样给 mongodb 整个数组作为一个唯一项建立唯一索引啊?

  •  
  •   sujin190 · Oct 21, 2014 · 3775 views
    This topic created in 4307 days ago, the information mentioned may be changed or developed.
    怎样给mongodb整个数组作为一个唯一项建立唯一索引啊?默认给数组建立唯一索引是给数组中得每一项建立唯一索引,这样只要有相同的数据第二项就插不进去了啊?求解
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3263 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 11:40 · PVG 19:40 · LAX 04:40 · JFK 07:40
    ♥ Do have faith in what you're doing.