Skip to content
Permalink
Browse files
Add a "groups" property to expression operators
  • Loading branch information
DelazJ authored and nyalldawson committed May 16, 2021
1 parent 5c21236 commit a75402bddd66e6752f142f60f69be3bc5c595b9e
@@ -1,6 +1,7 @@
{
"name": "AND",
"type": "operator",
"groups": ["Operators"],
"description": "Returns 1 when condition a and b are true.",
"arguments": [
{ "arg": "a", "description": "condition" },
@@ -1,6 +1,7 @@
{
"name": "ILIKE",
"type": "operator",
"groups": ["Operators"],
"description": "Returns 1 if the first parameter matches case-insensitive the supplied pattern. LIKE can be used instead of ILIKE to make the match case-sensitive. Works with numbers also.",
"arguments": [
{"arg":"string/number","description":"string to search"},
@@ -1,6 +1,7 @@
{
"name": "IN",
"type": "operator",
"groups": ["Operators"],
"description": "Returns 1 if value is found within a list of values.",
"arguments": [
{"arg":"a","description":"value"},
@@ -1,6 +1,7 @@
{
"name": "IS",
"type": "operator",
"groups": ["Operators"],
"description": "Returns 1 if a is the same as b.",
"arguments": [
{"arg":"a","description":"any value"},
@@ -1,6 +1,7 @@
{
"name": "IS NOT",
"type": "operator",
"groups": ["Operators"],
"description": "Returns 1 if a is not the same as b.",
"arguments": [
{"arg":"a","description":"value"},
@@ -1,6 +1,7 @@
{
"name": "LIKE",
"type": "operator",
"groups": ["Operators"],
"description": "Returns 1 if the first parameter matches the supplied pattern. Works with numbers also.",
"arguments": [
{"arg":"string/number","description":"value"},
@@ -1,6 +1,7 @@
{
"name": "NOT",
"type": "operator",
"groups": ["Operators"],
"description": "Negates a condition.",
"arguments": [
{"arg":"a","description":"condition"}
@@ -1,6 +1,7 @@
{
"name": "OR",
"type": "operator",
"groups": ["Operators"],
"description": "Returns 1 when condition a or b is true.",
"arguments": [
{"arg":"a","description":"condition"},
@@ -1,6 +1,7 @@
{
"name": "*",
"type": "operator",
"groups": ["Operators"],
"description": "Multiplication of two values",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "||",
"type": "operator",
"groups": ["Operators"],
"description": "Joins two values together into a string.<br><br>If one of the values is NULL the result will be NULL. See the CONCAT function for a different behavior.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "/",
"type": "operator",
"groups": ["Operators"],
"description": "Division of two values",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "=",
"type": "operator",
"groups": ["Operators"],
"description": "Compares two values and evaluates to 1 if they are equal.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "^",
"type": "operator",
"groups": ["Operators"],
"description": "Power of two values.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": ">=",
"type": "operator",
"groups": ["Operators"],
"description": "Compares two values and evaluates to 1 if the left value is greater or equal than the right value.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": ">",
"type": "operator",
"groups": ["Operators"],
"description": "Compares two values and evaluates to 1 if the left value is greater than the right value.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "[]",
"type": "operator",
"groups": ["Operators"],
"description": "Index operator. Returns an element from an array or map value.",
"arguments": [
{ "arg": "index", "description": "array index or map key value" }
@@ -1,6 +1,7 @@
{
"name": "<=",
"type": "operator",
"groups": ["Operators"],
"description": "Compares two values and evaluates to 1 if the left value is less or equal than the right value.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "<",
"type": "operator",
"groups": ["Operators"],
"description": "Compares two values and evaluates to 1 if the left value is less than the right value.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "-",
"type": "operator",
"groups": ["Operators"],
"description": "Subtraction of two values. If one of the values is NULL the result will be NULL.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "%",
"type": "operator",
"groups": ["Operators"],
"description": "Remainder of division",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "<>",
"type": "operator",
"groups": ["Operators"],
"description": "Compares two values and evaluates to 1 if they are not equal.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "+",
"type": "operator",
"groups": ["Operators"],
"description": "Addition of two values. If one of the values is NULL the result will be NULL.",
"arguments": [
{ "arg": "a", "description": "value" },
@@ -1,6 +1,7 @@
{
"name": "~",
"type": "operator",
"groups": ["Operators"],
"description": "Performs a regular expression match on a string value. Backslash characters must be double escaped (e.g., \"\\\\\\\\s\" to match a white space character).",
"arguments": [
{ "arg": "string", "description": "A string value" },

0 comments on commit a75402b

Please sign in to comment.