Module: DuckDB::FunctionTypeValidation
- Included in:
- AggregateFunction, ScalarFunction
- Defined in:
- lib/duckdb/function_type_validation.rb
Overview
Shared type-checking mixin for DuckDB function classes. Provides SUPPORTED_TYPES and the private check_supported_type! guard used by ScalarFunction and AggregateFunction.
Constant Summary collapse
- SUPPORTED_TYPES =
%i[ any bigint blob boolean date decimal double float hugeint integer interval smallint time timestamp timestamp_s timestamp_ms timestamp_ns time_tz timestamp_tz tinyint ubigint uhugeint uinteger usmallint utinyint uuid varchar ].freeze