Help center

Caution: This documentation is for Exponential, from version 3.x to 6.x.
For 5.x documentation covering Platform see Exponential Platform Documentation, for difference between legacy and Platform see 5.x Architecture overview.

database_version

Available before Exponential 6: the 4.x kernel had it already; the 4.x reference had no page for it.

Summary

Calls eZSetupFunctionCollection::fetchDatabaseVersion() (kernel/setup/function_definition.php).

Usage

fetch( 'setup', 'database_version',       hash( [ 'with_release', with_release ] ) )

Parameters

Name Type Required Default
with_release bool No. true

Source

kernel/setup/function_definition.php, eZSetupFunctionCollection::fetchDatabaseVersion()

See also

Generated example: fetch( 'setup', 'database_version' )

Added to the reference for Exponential 6.0.15.

Graham Brookins (05/11/2026 9:26 am)

Graham Brookins (05/11/2026 11:19 am)

Graham Brookins

No ratings yet