Returns SQLite database size in bytes.
The function returns the following error codes:
E_DB_PREPARE
if statement preparation failed.E_DB_STEP
if step execution failed or no write permission.E_DB_TYPE
if returned column is unexpected.Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
integer(kind=i8), | intent(out) | :: | nbytes |
Database size in bytes. |