realtime icon indicating copy to clipboard operation
realtime copied to clipboard

RFC: Allow filter chaining

Open selbyk opened this issue 3 years ago • 5 comments

Summary

Allow filter chaining

Rationale

Subscriptions to compound keys or multiple criteria would be useful in some scenarios

Design

An dense explanation in sufficient detail that someone familiar with the project could implement the feature. Specifics and corner cases should be covered.

Examples

filters: [`store_id=eq.${store.id}`,`product_id=eq.${product.id}`]
filter: `store_id=eq.${store.id},product_id=eq.${product.id}`
filter: `store_id=eq.${store.id},.or(product_id=eq.${product.id},product_id=eq.${productTwo.id})`

Drawbacks

What are the negative trade-offs?

Alternatives

What other solutions have been considered?

Unresolved Questions

Not sure what work would be involved Filter syntax probably needs work

selbyk avatar Feb 16 '23 19:02 selbyk

This feature would prove to be very useful. Looking forward to see this feature implemented.

sathishkannan162 avatar Sep 13 '23 11:09 sathishkannan162