Skip to content

Commit

Permalink
Merge pull request #534 from holyjak/patch-2
Browse files Browse the repository at this point in the history
Update pg-ops/- docstring wrt array input
  • Loading branch information
seancorfield authored Jul 4, 2024
2 parents 4e12409 + e7ef940 commit 669fee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/honey/sql/pg_ops.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
(def -
"The - operator:
- 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)"
:-)
(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." :#-)
Expand Down

0 comments on commit 669fee5

Please sign in to comment.