struct BSON::DBPointer

Overview

DBPointer — Deprecated.

Defined in:

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : String, oid : ObjectId) #

Instance Method Detail

def data : String #

def oid : BSON::ObjectId #

def to_canonical_extjson(builder : JSON::Builder) #

Serialize to a canonical extended json representation.

NOTE see https://github.com/mongodb/specifications/blob/master/source/extended-json.rst


def to_json(builder : JSON::Builder) #