class EJDB::BSON

Defined in:

ejdb.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(query = false) #

[View source]

Class Method Detail

def self.array_from_iterator(i : Library::Iterator) #

[View source]
def self.from_hash(hash) #

[View source]
def self.from_json(json : String) #

[View source]
def self.get_iterator_next(ip : Pointer(Library::Iterator)) #

[View source]
def self.hash_from_data(data : Pointer(UInt8)) #

[View source]
def self.hash_from_iterator(i : Library::Iterator) #

[View source]
def self.query_from_hash(hash) #

[View source]

Instance Method Detail

def append(k : String, v : Nil) #

[View source]
def append(k : String, v : Bool) #

[View source]
def append(k : String, v : Float64) #

[View source]
def append(k : String, v : Int32) #

[View source]
def append(k : String, v : Int64) #

[View source]
def append(k : String, v : String) #

[View source]
def append(k : String, v : JSON::Any) #

[View source]
def append(k : String, a : Array(JSON::Any)) #

[View source]
def append(k : String, h : Hash(String, JSON::Any)) #

[View source]
def append(k : String, a : Array(String)) #

[View source]
def append_hash(hash) #

[View source]
def finalize #

[View source]
def ptr #

[View source]
def to_s #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]