Back to main page

Proposition

Concept:

Proposition expression describes a fact, or a statement. A proposition may for example say that 'customer 4 clicked item' or that 'the product price is under 100€' or that tags contain the term laptop.

Format:

    PrimitiveProposition | 
    $exists | 
    $context | 
    $match | 
    $startsWith | 
    $lt | 
    $gt | 
    $lte | 
    $gte | 
    $mod | 
    $is | 
    $defined | 
    $has | 
    $and | 
    $& | 
    $prop | 
    $or | 
    $not | 
    $on | 
    DocumentProposition

See also:

Example 1:

    { "customer": 4, "query" : {"$match": "laptop"} }

Example 2:

    { "price" : {"$lt" : 100 } }

Example 3:

    { "tags" : {"$matches" : "laptop"} }