这时,请注意python使用了零排序,其中集合中的项目从零开始编号。
At this point, notice that Python USES zero ordering, where the items in a collection are numbered starting with zero.
请注意 songs 集合如何被保存为一个被称为 catalog 的数组,作为两个 DBRef。
Note how the songs collection is saved as an array called catalog as two DBRefs.
但是请注意,我可以让一个集合复制 Account,每个文档包含一个嵌入式的 Location 文档。
Note, though, that I could just as easily have had one collection dubbed Account with each document containing an embedded document of Locations.
应用推荐