MongoLink`
MongoLink`
MongoCursorToArray
MongoCursorToArray[MongoCursor[…]]
takes a MongoCursor object and returns a list of all remaining documents.
更多信息和选项
- To use MongoCursorToArray, you first need to load MongoLink using Needs["MongoLink`"].
- MongoCursorToArray[cursor] completely iterates the cursor, loading all the documents into RAM and exhausting the cursor.
- ReadList[cursor] corresponds to MongoCursorToArray[cursor].
- Dataset[cursor] corresponds to Dataset[MongoCursorToArray[cursor]].
- MongoCursorToArray corresponds to cursor.toArray in the MongoDB documentation.
范例
打开所有单元关闭所有单元基本范例 (1)
Wolfram Research (2018),MongoCursorToArray,Wolfram 语言函数,https://reference.wolfram.com/language/MongoLink/ref/MongoCursorToArray.html.
文本
Wolfram Research (2018),MongoCursorToArray,Wolfram 语言函数,https://reference.wolfram.com/language/MongoLink/ref/MongoCursorToArray.html.
CMS
Wolfram 语言. 2018. "MongoCursorToArray." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/MongoCursorToArray.html.
APA
Wolfram 语言. (2018). MongoCursorToArray. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/MongoLink/ref/MongoCursorToArray.html 年