Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Allow filter chaining #486

Open
selbyk opened this issue Feb 16, 2023 · 1 comment
Open

RFC: Allow filter chaining #486

selbyk opened this issue Feb 16, 2023 · 1 comment

Comments

@selbyk
Copy link

selbyk commented Feb 16, 2023

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 selbyk changed the title Allow filter chaining RFC: Allow filter chaining Feb 16, 2023
@olirice olirice transferred this issue from supabase/walrus Feb 16, 2023
@sathishkannan162
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants