TYPEOF
All functions > CONVERSION > TYPEOF
Returns the type of the given expression in FeatureQL.
Syntax
TYPEOF(expr)
sql
Arguments
Parameter | Type | Required | Description |
---|---|---|---|
expr | EXCEPTION | Yes | The expression to get the type of |
Returns
A string representing the FeatureQL type name
Notes
- Returns the FeatureQL type name as a string
- Useful for dynamic type checking and debugging
- Type is determined at compile time
- Returns FeatureQL-specific type names (e.g., BIGINT, VARCHAR, ARRAY)
- Can be used in conditional logic based on types
- Helps with understanding type inference results