Uploaded image for project: 'Hibernate ODM'
  1. Hibernate ODM
  2. HIBERNATE-62

Simple select query statement implementation

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In m1, we finished the first "select query statement" feature or "load by primary key", characteristic of simplest where clause (`where _id = ?`). This ticket moves forward by:

      • filtering by basic entity's field value comparison (single field)
      • filtering by ad-hoc boolean combination (mainly includes "and," "or", "not") of multiple fields

       

      All the comparison operators in https://www.mongodb.com/docs/manual/reference/operator/query/#comparison should be covered, except for `$nin` which has no HQL/Criterion counterpart in Hibernate.

      All the logical operators in https://www.mongodb.com/docs/manual/reference/operator/query/#logical should be covered except for `$nor`, which has no HQL/Criterion counterpart in Hibernate

       

      Addressing the source code notes tagged with TODO-HIBERNATE-62 is in scope of this ticket.

      This ticket assumes all the comparison is based on existing non-null fields. Field comparison involving null or non-existent field is out of the scope of this ticket.

      Sorting and Limit feature ($limit and $skip) are out of scope of this ticket.

            Assignee:
            nathan.xu@mongodb.com Nathan Xu
            Reporter:
            nathan.xu@mongodb.com Nathan Xu
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None