VERSION()
All functions > METADATA > VERSION()
Returns registry version; reload time is set only on a dev workstation.
Signatures
Returns: Registry version; reloaded_at is set on a dev workstation only
VERSION() → ROW(version VARCHAR, reloaded_at VARCHAR) sql
| Parameter | Type | Required | Description |
|---|
Notes
- Always returns a row with
version(e.g.0.2.1) reloaded_at(UTC ISO-8601 worker ready time) is set on a dev workstation only; NULL on hosted tiers- Use
SELECT VERSION()[version]orSELECT VERSION()[reloaded_at]for single columns reloaded_atchanges when the API worker restarts (uvicorn hot reload)- Part of the FeatureMesh constant functions
Examples
E/PI/NULL/VERSION/EMPTY and other no-arg constants (4-operators_and_functions.slt)
FeatureQL
SELECT
E,
E(),
PI,
PI(),
INFINITY,
INFINITY(),
NAN,
NAN(),
NULL,
NULL(),
EMPTY,
EMPTY()Result
| ?_0 VARCHAR | ?_1 VARCHAR | ?_2 VARCHAR | ?_3 VARCHAR | ?_4 VARCHAR | ?_5 VARCHAR | ?_6 VARCHAR | ?_7 VARCHAR | ?_8 VARCHAR | ?_9 VARCHAR | ?_10 VARCHAR | ?_11 VARCHAR |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 2.718281828459045 | 2.718281828459045 | 3.141592653589793 | 3.141592653589793 | Infinity | Infinity | NULL | NULL | NULL | NULL | EMPTY() | EMPTY() |