yq/pkg/yqlib/doc/operators
TJ Miller a466821e8f
Added divide and modulo operators (#1593)
* Added divide operator (#49)

* Tidy up divide operator logic

* Added modulo operator

* Fix divide test typo

* Add divide by zero test

* Handle int modulo by 0 and add tests

* Tidy up divide/modulo operator node creation

* Fix linter errors
2023-03-15 20:14:23 +11:00
..
headers Added shuffle command #1503 2023-02-11 05:08:20 +11:00
add.md Added prepend array example 2023-01-11 12:19:46 +11:00
alternative-default-value.md Removing old version notice 2022-10-25 12:47:13 +11:00
anchor-and-alias-operators.md Removing old version notice 2022-10-25 12:47:13 +11:00
array-to-map.md Updating docs 2022-11-13 11:16:01 +11:00
assign-update.md Removing old version notice 2022-10-25 12:47:13 +11:00
boolean-operators.md Removing old version notice 2022-10-25 12:47:13 +11:00
collect-into-array.md Removing old version notice 2022-10-25 12:47:13 +11:00
column.md Removing old version notice 2022-10-25 12:47:13 +11:00
comment-operators.md Include blank new lines in leading header preprocessing #1462 2022-12-08 13:33:06 +11:00
compare.md Removing old version notice 2022-10-25 12:47:13 +11:00
contains.md Added subset example 2022-11-01 09:29:05 +11:00
create-collect-into-object.md Removing old version notice 2022-10-25 12:47:13 +11:00
datetime.md Added to_unix operator 2023-02-02 12:56:16 +11:00
delete.md Removing old version notice 2022-10-25 12:47:13 +11:00
divide.md Added divide and modulo operators (#1593) 2023-03-15 20:14:23 +11:00
document-index.md Removing old version notice 2022-10-25 12:47:13 +11:00
encode-decode.md Use a lazy-quoting @sh encoder (#1548) 2023-02-09 18:15:07 +11:00
entries.md Removing old version notice 2022-10-25 12:47:13 +11:00
env-variable-operators.md Removing old version notice 2022-10-25 12:47:13 +11:00
equals.md Removing old version notice 2022-10-25 12:47:13 +11:00
error.md Removing old version notice 2022-10-25 12:47:13 +11:00
eval.md Removing old version notice 2022-10-25 12:47:13 +11:00
file-operators.md Removing old version notice 2022-10-25 12:47:13 +11:00
filter.md Add filter operation (#1588) 2023-03-09 10:30:47 +11:00
flatten.md Removing old version notice 2022-10-25 12:47:13 +11:00
group-by.md Removing old version notice 2022-10-25 12:47:13 +11:00
has.md Removing old version notice 2022-10-25 12:47:13 +11:00
keys.md Removing old version notice 2022-10-25 12:47:13 +11:00
length.md Removing old version notice 2022-10-25 12:47:13 +11:00
line.md Removing old version notice 2022-10-25 12:47:13 +11:00
load.md Removing old version notice 2022-10-25 12:47:13 +11:00
map.md Removing old version notice 2022-10-25 12:47:13 +11:00
modulo.md Added divide and modulo operators (#1593) 2023-03-15 20:14:23 +11:00
multiply-merge.md Fixed handling of merging null #1501 2023-01-10 13:48:57 +11:00
parent.md Removing old version notice 2022-10-25 12:47:13 +11:00
path.md Include blank new lines in leading header preprocessing #1462 2022-12-08 13:33:06 +11:00
pick.md Removing old version notice 2022-10-25 12:47:13 +11:00
pipe.md Removing old version notice 2022-10-25 12:47:13 +11:00
recursive-descent-glob.md Removing old version notice 2022-10-25 12:47:13 +11:00
reduce.md Removing old version notice 2022-10-25 12:47:13 +11:00
reverse.md Removing old version notice 2022-10-25 12:47:13 +11:00
select.md Removing old version notice 2022-10-25 12:47:13 +11:00
shuffle.md Added shuffle command #1503 2023-02-11 05:08:20 +11:00
slice-array.md Updating docs 2022-11-13 11:16:01 +11:00
sort-keys.md Removing old version notice 2022-10-25 12:47:13 +11:00
sort.md Added ability to sort by multiple fields #1541 2023-02-11 04:46:39 +11:00
split-into-documents.md Removing old version notice 2022-10-25 12:47:13 +11:00
string-operators.md Removing old version notice 2022-10-25 12:47:13 +11:00
style.md Removing old version notice 2022-10-25 12:47:13 +11:00
subtract.md Removing old version notice 2022-10-25 12:47:13 +11:00
tag.md Removing old version notice 2022-10-25 12:47:13 +11:00
traverse-read.md Removing old version notice 2022-10-25 12:47:13 +11:00
union.md Removing old version notice 2022-10-25 12:47:13 +11:00
unique.md Removing old version notice 2022-10-25 12:47:13 +11:00
variable-operators.md Removing old version notice 2022-10-25 12:47:13 +11:00
with.md Removing old version notice 2022-10-25 12:47:13 +11:00