Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add between function #287

Merged
merged 2 commits into from
Aug 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions extensions/functions_comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,24 @@ scalar_functions:
- value: any1
- value: any1
return: BOOLEAN
-
name: "between"
jacques-n marked this conversation as resolved.
Show resolved Hide resolved
description: >-
Whether the `expression` is greater than or equal to `low` and less than or equal to `high`.

`expression` BETWEEN `low` AND `high`
impls:
- args:
- value: any1
name: expression
description: The expression to test for in the range defined by `low` and `high`
- value: any1
name: low
description: The value to check if greater than or equal to.
- value: any1
name: high
description: The value to check if less than or equal to.
return: BOOLEAN
-
name: "is_null"
description: Whether a value is null.
Expand Down