Returns journal mode of database in mode
. The name of the mode is
optionally passed in name
.
The function returns the following error codes:
E_DB_PREPARE
if statement preparation failed.E_DB_STEP
if step execution failed.E_DB_TYPE
if query result is of unexpected type.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
integer, | intent(out) | :: | mode |
Journal mode. |
||
character(len=:), | intent(out), | optional, | allocatable | :: | name |
Journal mode name. |