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

Add the ability to add a constant filter to all queries. #1547

Open
NotEdibleSalt opened this issue Jun 30, 2023 · 2 comments
Open

Add the ability to add a constant filter to all queries. #1547

NotEdibleSalt opened this issue Jun 30, 2023 · 2 comments
Labels
status: feedback-provided Feedback has been provided type: enhancement A general enhancement

Comments

@NotEdibleSalt
Copy link

How to add unified filter conditions? For example, in the case of tombstony, how to uniformly filter the data that has been identified as deleted during query

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 30, 2023
@schauder
Copy link
Contributor

I'm not sure if I understand what you mean. Are you looking for a way to apply a filtering condition to all queries? Like a is_deleted=0?

If so the answer is: Spring Data JDBC does not currently support such a feature.
But I'll consider this a feature request if you confirm my understanding.
If my understanding is wrong, please clarify.

@schauder schauder added status: waiting-for-feedback We need additional information before we can continue and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 30, 2023
@NotEdibleSalt
Copy link
Author

I'm not sure if I understand what you mean. Are you looking for a way to apply a filtering condition to all queries? Like a is_deleted=0?

If so the answer is: Spring Data JDBC does not currently support such a feature. But I'll consider this a feature request if you confirm my understanding. If my understanding is wrong, please clarify.

Yes, you understand correctly.

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Jul 3, 2023
@schauder schauder added the type: enhancement A general enhancement label Jul 3, 2023
@schauder schauder changed the title How to add unified filter conditions? Add the ability to add a constant filter to all queries. Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: feedback-provided Feedback has been provided type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants