realtime
realtime copied to clipboard
RFC: Allow filter chaining
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
This feature would prove to be very useful. Looking forward to see this feature implemented.