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
ParameterTypeRequiredDescription

Notes

  • Always returns a row with version (currently 0.3.0)
  • reloaded_at (UTC ISO-8601 worker ready time) is set on a dev workstation only; NULL on hosted tiers
  • Use SELECT VERSION()[version] or SELECT VERSION()[reloaded_at] for single columns
  • reloaded_at changes when the API worker restarts (uvicorn hot reload)
  • Compare with SQLVERSION(), which reports the backend database dialect and engine version
  • Part of the FeatureMesh constant functions

Examples

E/PI/NULL/VERSION/EMPTY and other no-arg constants (4-operators_and_functions.slt)

FeatureQL
RETURN
    E(),
    PI(),
    NULL,
    NULL(),
    EMPTY()
Result
?_0 DECIMAL?_1 DECIMAL?_2 VARCHAR?_3 VARCHAR?_4 VARCHAR
2.7182818284590453.141592653589793NULLNULLEMPTY()