search

Home  >  Q&A  >  body text

mongodb支持跨集合(也就是跨表)的操作嘛??

mongodb 支持跨集合操作嘛?或者有类型的取代方法嘛??

为情所困为情所困2764 days ago581

reply all(1)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-04-25 09:06:18

    Cannot support directly

    http://docs.mongodb.org/manual/reference/database-references/

    When you have this kind of demand, first consider whether it can be embedded. If it cannot be embedded, consider whether it is really not satisfied by a relational database.

    In addition, when there is an index, the speed of obtaining data through reference is not bad, but it is more cumbersome to write the code yourself.

    reply
    0
  • Cancelreply