You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stack-encrypt: JSON operators Contains, ContainedBy and AtPath #1187
ADR-0009 decision 1 adds JSON operators: Contains and ContainedBy (@> and <@), and the accessor AtPath<Op>, which applies another operator at a JSON path. AtPath<Op> inherits the fidelity of its leaf (decision 4).
Problem
stack-encrypt has no JSON index, and EQL v4 has no JSON type that Stack Encrypt produces, so there is nothing for these operators to query.
Proposal
The operator types Contains, ContainedBy and AtPath<Op>.
AtPath<Eq> as a value-selector term, and AtPath<Lt> and the other orderings as a selector plus a leaf term, exposed as two parts for the SQL col -> selector < term.
AtPath<Op> is Probabilistic when Op is, and its verify applies Op at the path of the decrypted document.
ADR-0009's code matches what this ships.
Blocked by
A JSON index in stack-encrypt, and EQL v4 Json produced by Stack Encrypt.
Activity