struct BSON::CodeWithScope

Included Modules

Defined in:

bson/code_with_scope.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module BSON::Value

bson_size bson_size, to_bson to_bson

Constructor Detail

def self.new(javascript : String = "", scope : Hash(String, BSON::Type) = Document.new) #

[View source]

Class Method Detail

def self.from_bson(bson : IO) #

[View source]

Instance Method Detail

def bson_size #

[View source]
def javascript : String #

[View source]
def scope : Hash(String, BSON::Type) #

[View source]
def to_bson(bson : IO) #

[View source]