enum BSON::Element

Overview

List of BSON elements

Defined in:

bson/helpers/types.cr

Enum Members

Double = 1_u8
String = 2_u8
Document = 3_u8
Array = 4_u8
Binary = 5_u8
Undefined = 6_u8
ObjectId = 7_u8
Boolean = 8_u8
DateTime = 9_u8
Null = 10_u8
Regexp = 11_u8
DBPointer = 12_u8
JSCode = 13_u8
Symbol = 14_u8
JSCodeWithScope = 15_u8
Int32 = 16_u8
Timestamp = 17_u8
Int64 = 18_u8
Decimal128 = 19_u8
MinKey = 255_u8
MaxKey = 127_u8

Instance Method Summary

Instance Method Detail

def array? #

[View source]
def binary? #

[View source]
def boolean? #

[View source]
def date_time? #

[View source]
def db_pointer? #

[View source]
def decimal128? #

[View source]
def document? #

[View source]
def double? #

[View source]
def int32? #

[View source]
def int64? #

[View source]
def js_code? #

[View source]
def js_code_with_scope? #

[View source]
def max_key? #

[View source]
def min_key? #

[View source]
def null? #

[View source]
def object_id? #

[View source]
def regexp? #

[View source]
def string? #

[View source]
def symbol? #

[View source]
def timestamp? #

[View source]
def undefined? #

[View source]