-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Relational method for checking whether a path in a JSON exists #31136
Comments
Depending on what happens with this PR #30010. I might continue with adding those as well... |
Hi @roji as I see @joelmandell PR is stuck. I'd like to try to implement this by:
|
@abcdefgabcefg I am just waiting for feedback on that PR before I started on the other things. That's why I am lagging behind |
@joelmandell oh sorry, I don't I was aware you were waiting for feedback there... we've unfortunately gone into feature freeze for 8.0 so we won't be able to merge it for that... |
@roji please tell, this issue is also frozen till EF 8? |
EF 8 will be out in November, and feature work on it has stopped; we're now stabilizing/fixing bugs only. Any feature PR will generally be merged for EF 9 at this point, which will come out in November 2024. |
Hi @roji , is this issue still open for contribution? |
@Ricketiman and others, @joelmandell made good progress on this in #30010 - it's my fault it hasn't progressed. I'm generally trying to make progress on dormant PRs, I'll try to pick up this work again - I don't think it makes sense to start a new PR. |
Hi @roji , Is this Issue still open for contribution? |
Yes. |
We're unfortunately backed up on processing community PRs; #30010 looks like it's in the right direction but we need to find some time to get it to mergeable state.
It's a good idea to do this method by method, since support across databases varies in this area. Definitely feel free to open more issues like this one, detailing the proposed translations across databases (see the origina post above). |
@roji I will start working on I will use CASE
WHEN [json_value] IS NULL THEN NULL
ELSE json_type([json_value], [json_path]) IS NOT NULL
END iif([json_value] IS NULL, NULL, json_type([json_value], [json_path]) IS NOT NULL) |
- Fixes dotnet#31136 - Define SqlServer translation - Define Sqllite translation
- Define SqlServer translation - Define Sqllite translation Fixes dotnet#31136
All relational databases support some way of checking whether a given JSON PATH exists in a JSON document. We should add a relational-level EF.Functions.JsonExists (or similar) which the different providers can translate to this.
The text was updated successfully, but these errors were encountered: