Created
February 19, 2020 05:12
-
-
Save jmarchello/3e4cb4ca00fa8516577d4d9c0d89b28a to your computer and use it in GitHub Desktop.
Postgresql JSON/JSONB
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
-- JSON | |
SELECT '{"Fruits": ["apple", "banana", "orange"]}'::JSON; | |
-- JSONB | |
SELECT '{"Fruits": ["pineapple", "mango", "papaya"]}'::JSONB; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment