MongoDB中存储的数组是否保持顺序? [英] Do arrays stored in MongoDB keep their order?

查看:233
本文介绍了MongoDB中存储的数组是否保持顺序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一个简单的问题,数组存储在MongoDB中时是否保持其顺序?

Simple question, do arrays keep their order when stored in MongoDB?

推荐答案

是的MongoDB保持数组的顺序..就像Javascript引擎一样.

yep MongoDB keeps the order of the array.. just like Javascript engines..

这篇关于MongoDB中存储的数组是否保持顺序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆