Skip to main content

Module func

Module func 

Source
Expand description

Built-in scalar functions.

Aggregate functions (count, sum, …) are handled by the executor, which folds over rows; this module covers the per-row scalar functions. The set is a useful core and grows toward SQLite’s full library (func.c, date.c).

Functions§

eval_scalar
Evaluate a scalar function call.
is_aggregate
Names that can be aggregates (used for catalog/name checks).
is_aggregate_call
Whether a specific call is an aggregate. min/max are scalar with 2+ arguments and aggregate with exactly one (or *), matching SQLite.