class String

EG Using string as an attribute name: ‘name’.ne(‘Colin’) => {“name”=>{“$gte”=>“Colin”}} ‘date’.le(‘20151231’) => {“date”=>{“$lte”=>“20151231”}}

Using string as target of $in and $nin operators ‘abcdefg’.nin => {“$nin”=>“abcdefg”}

Public Instance Methods

in() click to toggle source
# File lib/cx/mongo_query/operators.rb, line 147
def in;  CX::Mongo::Query.in_s(self)   end
nin() click to toggle source
# File lib/cx/mongo_query/operators.rb, line 148
def nin; CX::Mongo::Query.nin_s(self)  end
rxo() click to toggle source
# File lib/cx/mongo_query/operators.rb, line 146
def rxo; CX::Mongo::Query.rxo(self)    end