csc302-spring-2021/proj-DaTeam

Design domain object query system

Closed this issue · 0 comments

otomn commented

Design a query system that allows the frontend to search any domain object by object properties.

  • The system should be implemented in the shared module
  • The query should be represented in object form instead of plain SQL query to avoid DB injection
  • Json serialization should be covered in this issue

Supported grammars:

  • Join
    • and
    • or
    • not
  • all types
    • equals
  • string
    • starts with
    • ends with
    • contains
  • number
    • greater than
    • less than