Back to main page

$and

Concept:

$and expresses a softer version of boolean AND operation. This 'soft and' is analyzed by Aito into features, and these features are treated as separately.

This makes the following clauses equivalent

{ "a" : "text", "b" : 0 }
{ "$and" : [ { "a":"text" }, { "b": 0 } ] }

Format:

    { "$and" : [ Proposition, ... ] }

See also:

Example 1:

    { "$and" : [ { "price" : { "$gt" : 100 } }, { "tags" : "laptop" } ] }