Class: XGen::Mongo::Driver::Undefined

Inherits:
Object
  • Object
show all
Defined in:
lib/mongo/types/undefined.rb

Overview

A special “undefined” type to match Mongo’s storage of UNKNOWN values. “UNKNOWN” comes from JavaScript.

NOTE: this class does not attempt to provide ANY of the semantics an “unknown” object might need. It isn’t nil, it isn’t special in any way, and there isn’t any singleton value.