Last active
October 1, 2023 03:21
-
-
Save esatterwhite/dcdba9fa1ca06d8045fe9bfff0f62b33 to your computer and use it in GitHub Desktop.
possible input / output jsonb aggregate
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
// inputs | |
{ | |
"a" : { | |
"b": { | |
"c": true | |
} | |
} | |
} | |
{ | |
"a" : { | |
"b": { | |
"c": false | |
} | |
} | |
} | |
{ | |
"a" : { | |
"b": { | |
"d": true | |
} | |
} | |
} | |
{ | |
"a" : { | |
"b": { | |
"e": true | |
} | |
} | |
} | |
{ | |
"a" : { | |
"c": { | |
"f": true | |
} | |
} | |
} | |
// results | |
{ | |
"a" : { | |
"b": { | |
"c": false, | |
"d": true, | |
"e": true | |
}, | |
"c": { | |
"f": true | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment