Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 480 Bytes

DEVELOPMENT.md

File metadata and controls

25 lines (15 loc) · 480 Bytes

Development

Queries

Operators

Steps to add an operator:

  • Update Queries::Operators.
  • Update Queries::ParseBlock::Builder.
  • Define context(s) in QueryContracts::WithQueryContexts.
  • Add test cases in QueryContracts::ShouldPerformQueries.
  • Add implementations to Basic::QueryBuilder.

ParseCriteria

Validates and returns an Array of criteria.

ParseHash

All values use :eq operator.

ParseQuery

Extends ParseCriteria, passes Query#criteria to super.