struct BSON::DBPointer

Overview

DBPointer — Deprecated.

Defined in:

bson/dbpointer.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def data : String #

[View source]
def oid : BSON::ObjectId #

[View source]
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


[View source]
def to_json(builder : JSON::Builder) #

[View source]