Skip to main content

Module arg_types

Module arg_types 

Source
Expand description

Static argument type specifications for all built-in functions.

Each constant defines the accepted argument types per position. An empty accepted slice means any type is accepted (wildcard). variadic: true on the last entry means the argument repeats.

Statics§

APPROX_COUNT_ARGS
APPROX_COUNT_DISTINCT_ARGS
APPROX_PERCENTILE_ARGS
APPROX_TOPK_ARGS
ARRAY_AGG_ARGS
ARRAY_ELEMENTWISE_ARGS
ARRAY_MAINT_ARGS
ARRAY_PROJECT_ARGS
ARRAY_SLICE_ARGS
AVG_ARGS
BM25_SCORE_ARGS
COALESCE_ARGS
CONCAT_ARGS
COUNT_ARGS
count(*) / count(expr)
DOC_ARRAY_CONTAINS_ARGS
DOC_EXISTS_ARGS
DOC_GET_ARGS
FIRST_LAST_VALUE_ARGS
GRAPH_SCORE_ARGS
graph_score(node_id_col, seed_id, depth => N, label => 'edge_label').
GROUPING_ARGS
GROUPING(col [, col2, ...]) — accepts 1 or more column references.
H3_CELLTOLATLNG_ARGS
H3_LATLNGTOCELL_ARGS
JSON_EXISTS_ARGS
JSON_QUERY_ARGS
JSON_VALUE_ARGS
LAG_LEAD_ARGS
LENGTH_ARGS
MAKE_ARRAY_ARGS
MATH_1_ARGS
MAX_ARGS
MIN_ARGS
MULTI_VECTOR_SCORE_ARGS
MULTI_VECTOR_SEARCH_ARGS
NAV_ARGS
NDB_CHUNK_TEXT_ARGS
NO_ARGS
NTH_VALUE_ARGS
NTILE_ARGS
NULLIF_ARGS
PG_FTS_MATCH_ARGS
PG_JSON_2_ARGS
PG_JSON_BOOL_2_ARGS
PG_TO_TSQUERY_ARGS
PG_TO_TSVECTOR_ARGS
PG_TS_HEADLINE_ARGS
PG_TS_RANK_ARGS
REPLACE_ARGS
ROUND_ARGS
RRF_SCORE_ARGS
Two-source rrf_score(rank1, rank2, k1?, k2?) — vector + text. Accepts 2–4 arguments; the planner validates arity at plan time.
RRF_SCORE_TRIPLE_ARGS
Three-source rrf_score(rank1, rank2, rank3, k1?, k2?, k3?) — vector + text + graph. Shares the same function name; arity dispatch happens in the planner.
SEARCH_SCORE_ARGS
SPARSE_SCORE_ARGS
SPATIAL_2_ARGS
SPATIAL_3_ARGS
STRING_1_ARGS
ST_BUFFER_ARGS
ST_ENVELOPE_ARGS
ST_GEOHASHDECODE_ARGS
ST_GEOHASH_ARGS
ST_POINT_ARGS
SUBSTRING_ARGS
SUM_ARGS
TEXT_MATCH_ARGS
TIME_BUCKET_ARGS
TS_CORRELATE_ARGS
TS_EMA_ARGS
TS_LAG_LEAD_ARGS
TS_MOVING_AVG_ARGS
TS_PERCENTILE_ARGS
TS_STDDEV_ARGS
TS_WINDOW_1_ARGS
VECTOR_DISTANCE_ARGS