← Files SavvyARCHIVED FILE

skills/savvy/references/registry/expression-common.json

3.38 KB · Oct 4, 2026 · 12:27 UTC

↓ Download file

{
  "version": 1,
  "lookupOperators": {
    "abs": {},
    "add": {},
    "and": {},
    "base64_decode": {"arity": 1},
    "base64_encode": {"arity": 1},
    "case": {},
    "ceiling": {"arity": 1},
    "coalesce": {},
    "concat": {},
    "contains": {"arity": 2},
    "date": {"arity": 3},
    "date_add": {"arity": 3},
    "date_diff": {},
    "datetime": {"arity": 6},
    "day": {"arity": 1},
    "day_name": {"arity": 1},
    "day_of_week": {"arity": 1, "indexBase": 1, "weekStart": "Monday"},
    "day_of_year": {"arity": 1},
    "days_in_month": {"arity": 1},
    "days_in_year": {"arity": 1},
    "div": {},
    "eq": {},
    "greatest": {},
    "gte": {},
    "gt": {},
    "during_daylight_saving": {"arity": [0, 1]},
    "during_standard": {"arity": [0, 1]},
    "escape_html": {"arity": 1},
    "floor": {"arity": 1},
    "geo_distance": {"arity": [4, 5]},
    "hash": {},
    "hour": {"arity": 1, "dateInputReturns": 0},
    "if": {"arity": 3},
    "ifs": {"arity": "variadic_pairs"},
    "in": {},
    "is_empty": {"arity": 1},
    "is_null": {"arity": 1},
    "json_field": {"arity": 2},
    "json_format": {"arity": 1},
    "json_set": {"arity": 3},
    "jwt_encode": {"arity": [3, 4]},
    "least": {},
    "left_part": {"arity": 2},
    "left_substr": {"arity": 2},
    "length": {"arity": 1},
    "levenshtein": {"arity": 2},
    "like": {},
    "log": {"arity": 2},
    "lower": {"arity": 1},
    "lt": {},
    "lte": {},
    "mid": {},
    "minute": {"arity": 1},
    "mod": {"arity": 2},
    "month": {"arity": 1},
    "month_name": {"arity": 1},
    "mul": {},
    "negate": {},
    "neq": {},
    "nlike": {},
    "not_null": {"arity": 1},
    "not_true": {"arity": 1},
    "next_day": {"arity": 1},
    "now": {"arity": 0},
    "or": {},
    "pad_left": {},
    "pad_right": {"arity": 3},
    "power": {},
    "previous_day": {"arity": 1},
    "proper": {"arity": 1},
    "quarter": {"arity": 1},
    "random": {"arity": 0},
    "regex_extract": {"arity": [2, 3], "returns": "first_capture_group_when_present"},
    "regex_match": {"arity": 2},
    "regex_replace": {"arity": 3},
    "regex_search": {"arity": [2, 3], "indexBase": 1},
    "replace": {"arity": 3},
    "repeat": {"arity": 2},
    "reverse": {"arity": 1},
    "right_part": {"arity": 2},
    "right_substr": {"arity": 2},
    "round": {"arity": 1},
    "rounddown": {"arity": 1},
    "roundup": {"arity": 1},
    "search": {},
    "second": {"arity": 1},
    "soundex": {"arity": 1},
    "split_part": {"arity": 3},
    "str_pos": {"arity": 2, "notFoundReturns": -1, "indexBase": 1},
    "sub": {},
    "subtract": {},
    "substring": {},
    "time_period": {"arity": 2},
    "time_period_offset": {"arity": 2, "periodsFromCurrentPeriod": true},
    "to_boolean": {"arity": 1},
    "to_date": {"arity": 1},
    "to_datetime": {"arity": 1},
    "to_integer": {"arity": 1},
    "to_number": {"arity": 1},
    "to_text": {"arity": [1, 2]},
    "today": {"arity": 0},
    "trim": {"arity": 1},
    "unescape_html": {"arity": 1},
    "upper": {"arity": 1},
    "week": {"arity": 1},
    "week_of_year": {"arity": 1},
    "year": {"arity": 1}
  },
  "unsupportedLookupOperators": [
    "first_not_empty",
    "geo_area",
    "geo_buffer",
    "geo_centroid",
    "geo_difference",
    "geo_intersection",
    "geo_isvalid",
    "geo_perimeter",
    "geo_point",
    "geo_spatial_distance",
    "geo_trade_area",
    "geo_type",
    "geo_union",
    "to_decimal"
  ]
}

SHA-256: 9b72ee51a2543168116fe78231866f6c481ed776ded583434592a4a996f5969e