BSONObjectID
BSONObjectID[…]
BSON形式でObject IDを表すオブジェクトである.
詳細とオプション
- BSONObjectIDを使用するためには,まずNeeds["MongoLink`"]を使ってMongoLinkをロードする必要がある.
- BSONObjectIDは"BSON"形式の特別なタイプである.
- BSONObjectIDオブジェクトは通常ドキュメントがMongoDBのコレクションに挿入されたときに自動的に作成され,一般にドキュメントの主キーとして使用される.
- Normal[BSONObjectID[…]]はBSONObjectID[…]に含まれる情報を可読な形で表すDatasetを返す.
例題
例 (1)
文字列からBSONObjectIDを作成する:
Normalを使ってBSONObjectIDを可読な形で表す:
テクニカルノート
関連するガイド
テキスト
Wolfram Research (2018), BSONObjectID, Wolfram言語関数, https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html.
CMS
Wolfram Language. 2018. "BSONObjectID." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html.
APA
Wolfram Language. (2018). BSONObjectID. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html
BibTeX
@misc{reference.wolfram_2025_bsonobjectid, author="Wolfram Research", title="{BSONObjectID}", year="2018", howpublished="\url{https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html}", note=[Accessed: 20-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_bsonobjectid, organization={Wolfram Research}, title={BSONObjectID}, year={2018}, url={https://reference.wolfram.com/language/MongoLink/ref/BSONObjectID.html}, note=[Accessed: 20-April-2026]}