Last active
May 11, 2018 10:31
-
-
Save chetanppatil/42a19e806991cb40f3504fdd98dc567f to your computer and use it in GitHub Desktop.
Get/Select values from array of json in PostgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT ele->>'partCode' FROM json_array_elements('[{"partCode": "sdvsv", "partName": "sdvfv", "problemCatagory": "Dock Related"}]'::json) AS ele |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment