joneubank / sqon

Toolkit for generating/manipulating Overture SQON filter objects
GNU Affero General Public License v3.0
0 stars 0 forks source link

Add Pivot to a combination operation #7

Open joneubank opened 2 years ago

joneubank commented 2 years ago

a Pivot value indicates the contained filters apply to a nested object within the parent document. the value of the pivot property is the path to the nested object array in the parent document.

Using an options parameter to the combination operations is probably sensible since this is extensible in the future. Example: sqon.and(moreSqons, {pivot: "pivot_path"})