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

Dynamic query in azure-spring-data-cosmos? #26186

Closed
pratikgawali opened this issue Dec 26, 2021 · 2 comments
Closed

Dynamic query in azure-spring-data-cosmos? #26186

pratikgawali opened this issue Dec 26, 2021 · 2 comments
Assignees
Labels
azure-spring All azure-spring related issues azure-spring-cosmos Spring cosmos related issues. Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@pratikgawali
Copy link

I have a use case for filtering data based on the different filter criteria provided by the clients. So, I would like to form a dynamic query depending on whether the input is provided by the user or not.
For eg: if the user has provided filter criteria a, b and c then the query should be something like "Select * from xyz where a = something and b = something and c = something". But if the user has provided only a and c then the query must be something like "Select * from xyz where a = something and c = something".

I think this is something that can be achieved using 'com.azure.spring.data.cosmos.core.query.Criteria' but I am not able to figure out how. Is there any documentation/tutorial/example to explain how to use the library?

@ghost ghost added needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 26, 2021
@chenrujun chenrujun added azure-spring All azure-spring related issues azure-spring-cosmos Spring cosmos related issues. labels Dec 26, 2021
@ghost ghost removed the needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. label Dec 26, 2021
@chenrujun chenrujun moved this to Todo in Spring Cloud Azure Dec 26, 2021
@chenrujun chenrujun added this to the Backlog milestone Dec 26, 2021
@saragluna saragluna added the Client This issue points to a problem in the data-plane of the library. label Jan 17, 2022
@trande4884 trande4884 self-assigned this Aug 9, 2022
@backwind1233 backwind1233 removed their assignment Dec 9, 2022
azure-sdk pushed a commit to azure-sdk/azure-sdk-for-java that referenced this issue Nov 2, 2023
[Hub Generated] Review request for Microsoft.DataProtection to add version preview/2023-08-01-preview (Azure#25967)

* Adds base for updating Microsoft.DataProtection from version preview/2023-06-01-preview to version 2023-08-01-preview

* Updates readme

* Updates API version in new specs and examples

* Re-Validate API Swagger Changes

* JobCancel & Job InProgress changes

* vault tier changes aks (Azure#25972)

* Add is isPartialRP boolean to AzureBackupDiscreteRecoveryPoint and examples (Azure#25974)

* Add is ispartialrp to AzureBackupDiscreteRecoveryPoint and examples

* Fix prettier issues in examples

* Including ValidateForModifyBackupRequest Defn.

* resolved comments (Azure#26064)

* Revert IsPartialRP changes (Azure#26070)

* Using Restricted Pattern for Vault Name (Azure#26169)

* Handling Validation Errors (Azure#26186)

* removing 200 status code

* LintDiff fix - using common types error response (Azure#26187)

* whitespace handling

* Editing where clause

* Removing Where Condition

---------

Co-authored-by: Dishant Munjal <[email protected]>
Co-authored-by: chandrasekarendran <[email protected]>
Co-authored-by: soumyapattnaik <[email protected]>
Co-authored-by: nickpacificomsft <[email protected]>
Co-authored-by: asmitt <[email protected]>
Copy link

Hi @pratikgawali, we deeply appreciate your input into this project. Regrettably, this issue has remained inactive for over 2 years, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 13, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Spring Cloud Azure Mar 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2024
@kushagraThapar
Copy link
Member

@pratikgawali - I see this issue got closed because of automation, wondering, if you are still facing this issue. Feel free to re-open this if that's the case, apologies for the delay on this issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
azure-spring All azure-spring related issues azure-spring-cosmos Spring cosmos related issues. Client This issue points to a problem in the data-plane of the library. customer-reported Issues that are reported by GitHub users external to the Azure organization. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
Archived in project
Development

No branches or pull requests

6 participants