Last active
April 26, 2022 03:29
-
-
Save shahidhk/5d02ff8ed039e68179bd0d9600495ddc to your computer and use it in GitHub Desktop.
Revisions
-
shahidhk revised this gist
Oct 10, 2018 . 1 changed file with 7 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ | Operator | Postgres equivalent | Description | -----------|---------------------|-------------| | `_contains` | `@>` | Does the column value contains these key-value pairs at top-level? | | `_contained_in` | `<@` | Is the column value contained in this JSON object at top-level? | | `_has_key` | `?` | Does the string exist as a top-level key within the JSON value? | | `_has_keys_any` | `?\|` | Do any of these array strings exist as top-level keys? | | `_has_keys_all` | `?&` | Do all of these array strings exist as top-level keys? | -
shahidhk revised this gist
Oct 10, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,5 +3,5 @@ | `_contains` | `@>` | | `_contained_in` | `<@` | | `_has_key` | `?` | | `_has_keys_any` | `?\|` | | `_has_keys_all` | `?&` | -
shahidhk revised this gist
Oct 10, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ | Operator | Postgres equivalent | -----------|---------------------- | `_contains` | `@>` | | `_contained_in` | `<@` | | `_has_key` | `?` | | `_has_keys_any` | `?|` | | `_has_keys_all` | `?&` | -
shahidhk created this gist
Oct 10, 2018 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ | Operator | Postgres equivalent | ---------------------------------- | `_contains` | `@>` | | `_contained_in` | `<@` | | `_has_key` | `?` | | `_has_keys_any` | `?` | | `_has_keys_all` | `?&` |