Example: [{3},{1},{2}]. Does it sort it? [{1},{2}, {3}]
I was confused because of this answer? https://stackoverflow.com/a/49833552/15502607
- JSON maintains the order in which elements are inserted, while JSONB maintains the "sorted" order.
Example: [{3},{1},{2}]. Does it sort it? [{1},{2}, {3}]
I was confused because of this answer? https://stackoverflow.com/a/49833552/15502607
- JSON maintains the order in which elements are inserted, while JSONB maintains the "sorted" order.
[{3},{1},{2}]is an invalid JSON value to begin with.