MongoLink`
MongoLink`
BSONObjectID
BSONObjectID[…]
is an object that represents an Object ID in the BSON format.
更多信息和选项
- To use BSONObjectID, you first need to load MongoLink using Needs["MongoLink`"].
- BSONObjectID is a special type of the "BSON" format.
- A BSONObjectID object is typically created automatically when a document is inserted into a MongoDB collection, and is commonly used as the primary key of the document.
- Normal[BSONObjectID[…]] returns a Dataset representing the information contained in BSONObjectID[…] in a readable form.
范例
基本范例 (1)
Create a BSONObjectID from a string:
Use Normal to represent the BSONObjectID in human readable form:
Wolfram Research (2018),BSONObjectID,Wolfram 语言函数,https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html.
文本
Wolfram Research (2018),BSONObjectID,Wolfram 语言函数,https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html.
CMS
Wolfram 语言. 2018. "BSONObjectID." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html.
APA
Wolfram 语言. (2018). BSONObjectID. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html 年