Binary / UUID

Reference type:Cheat sheetFormat:Syntax + example + use case

Reference group: BSON types and field properties

What it does

Stores bytes; UUID interoperability depends on subtype and conventions.

Syntax

BinData(subtype, base64) or driver UUID helpers

Use case

Cross-service UUID fields.

Important notes

Standardize UUID representation across drivers.

Binary / UUID: practical example
UUID syntax depends on driver and representation settings.
💡 Explanation Stores bytes; UUID interoperability depends on subtype and conventions. When to use it Cross-service UUID fields. Caution Standardize UUID representation across drivers.
Key Takeaways
  • Stores bytes; UUID interoperability depends on subtype and conventions.
  • Typical use: Cross-service UUID fields.