参考 > 参考 > mongo Shell方法 > Native Methods > _rand()
_rand
0
1
此功能提供的功能类似于Math.rand()标准库中的 功能。
Math.rand()