Class: String
- Inherits:
-
Object
- Object
- String
- Includes:
- CX::Mongo::Query::Postfix
- Defined in:
- lib/cx/mongo_query/operators.rb
Overview
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”