Merge pull request #534 from holyjak/patch-2

Update pg-ops/- docstring wrt array input
This commit is contained in:
Sean Corfield 2024-07-04 09:23:16 -07:00 committed by GitHub
commit 669fee5bc8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,6 +49,7 @@
(def - (def -
"The - operator: "The - operator:
- text value: deletes a key (and its value) from a JSON object, or matching string value(s) from a JSON array - text value: deletes a key (and its value) from a JSON object, or matching string value(s) from a JSON array
- text[] array value: as above, but for all the provided keys
- int value: deletes the array element with specified index (negative integers count from the end)" - int value: deletes the array element with specified index (negative integers count from the end)"
:-) :-)
(def hash- "The #- operator - deletes the field or array element at the specified path, where path elements can be either field keys or array indexes." :#-) (def hash- "The #- operator - deletes the field or array element at the specified path, where path elements can be either field keys or array indexes." :#-)