Closed timershaziganshin closed 11 years ago
Example:
class TestCriteria include Origin::Queryable end test_criteria = TestCriteria.new test_criteria.where('$and' => [{:test2.in => ["val"]}])
produces selector
{ "$and"=> [ { "#<Origin::Key:0x007fe77a125520>"=>["val"] } ] }
instead of
{ "$and"=> [ { "test2"=> { "$in"=> ["val"] } } ] }
Example:
produces selector
instead of