Skip to content

Commit

Permalink
Add definitions for ≥, ≤, and other operators (#67)
Browse files Browse the repository at this point in the history
Add definitions for ≥, ≤, ≢, ≡, ≠, ∉, ∈
  • Loading branch information
AshlinHarris authored Jun 25, 2024
1 parent 5a2df81 commit 3abed0b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/FunSQL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,23 @@ export
var"funsql_!",
var"funsql_==",
var"funsql_!=",
var"funsql_≠",
var"funsql_===",
var"funsql_≡",
var"funsql_!==",
var"funsql_≢",
var"funsql_>",
var"funsql_>=",
var"funsql_≥",
var"funsql_<",
var"funsql_<=",
var"funsql_≤",
var"funsql_+",
var"funsql_-",
var"funsql_*",
var"funsql_/",
var"funsql_∈",
var"funsql_∉",
funsql_agg,
funsql_append,
funsql_as,
Expand Down
7 changes: 7 additions & 0 deletions src/nodes/function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -206,16 +206,23 @@ const var"funsql_||" = FunClosure(:or)
const var"funsql_!" = FunClosure(:not)
const var"funsql_==" = FunClosure("=")
const var"funsql_!=" = FunClosure("<>")
const var"funsql_≠" = FunClosure("<>")
const var"funsql_===" = FunClosure(" IS NOT DISTINCT FROM ")
const var"funsql_≡" = FunClosure(" IS NOT DISTINCT FROM ")
const var"funsql_!==" = FunClosure(" IS DISTINCT FROM ")
const var"funsql_≢" = FunClosure(" IS DISTINCT FROM ")
const var"funsql_>" = FunClosure(">")
const var"funsql_>=" = FunClosure(">=")
const var"funsql_≥" = FunClosure(">=")
const var"funsql_<" = FunClosure("<")
const var"funsql_<=" = FunClosure("<=")
const var"funsql_≤" = FunClosure("<=")
const var"funsql_+" = FunClosure("+")
const var"funsql_-" = FunClosure("-")
const var"funsql_*" = FunClosure("*")
const var"funsql_/" = FunClosure("/")
const var"funsql_∈" = FunClosure(:in)
const var"funsql_∉" = FunClosure(:not_in)
const funsql_between = FunClosure(:between)
const funsql_case = FunClosure(:case)
const funsql_cast = FunClosure(:cast)
Expand Down

0 comments on commit 3abed0b

Please sign in to comment.