public function dm_db_get_data_version(db, version) result(rc)
Returns data version in version.
The integer values returned by two invocations of PRAGMA data_version
from the same connection will be different if changes were committed to
the database by any other connection in the interim.
The PRAGMA data_version value is unchanged for commits made on the same
database connection. The behaviour of PRAGMA data_version is the same
for all database connections, including database connections in separate
processes and shared cache database connections.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.