Nodes of different colours represent the following:
Solid arrows point from a submodule to the (sub)module which it is
descended from. Dashed arrows point from a module or program unit to
modules which it uses.
Opens connection to the SQLite database at path, or creates a new
database with given file path if create is passed and .true..
The foreign key constraint is enabled unless foreign_keys is
.false..
The databases is opened in read-only mode if read_only is .true..
Threaded access to the database is disabled by default. The busy
timeout is 0 mseconds unless argument timeout is passed.
If argument validate is passed and .true., the application id of
the database is validated. The function returns E_DB_ID if the id
is missing or invalid.
Write-Ahead Logging is enabled if wal is .true..
The function returns the following error codes:
E_DB if opening the database failed.
E_DB_ID if the database has a wrong application id.
E_DB_PREPARE if statement preparation failed.
E_DB_STEP if step execution failed or no write permission.
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.
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.