Skip to content

Allow fields in json_extract_path#4604

Merged
greg-rychlewski merged 5 commits intoelixir-ecto:masterfrom
greg-rychlewski:json_path_with_fields
Apr 13, 2025
Merged

Allow fields in json_extract_path#4604
greg-rychlewski merged 5 commits intoelixir-ecto:masterfrom
greg-rychlewski:json_path_with_fields

Conversation

@greg-rychlewski
Copy link
Copy Markdown
Member

companion to elixir-ecto/ecto_sql#660 in Ecto SQL

Copy link
Copy Markdown
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! ❤️ I think we didn't consider this syntax before.

It may not be supported in all adapters but I think that's fine. Unsupported ones can raise.

@greg-rychlewski greg-rychlewski merged commit 6012035 into elixir-ecto:master Apr 13, 2025
4 of 7 checks passed
@greg-rychlewski greg-rychlewski deleted the json_path_with_fields branch April 13, 2025 12:58
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

Successfully merging this pull request may close these issues.

2 participants