Returns log associated with given id as allocatable character in
JSON format in json. If no log has been found, the string will
be empty and the function returns E_DB_NO_ROWS.
The function returns the following error codes:
E_DB_BIND if value binding failed.E_DB_DONE if statement finished.E_DB_PREPARE if statement preparation failed.E_DB_TYPE if returned columns are unexpected.E_INVALID if id is invalid.| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_type), | intent(inout) | :: | db |
Database type. |
||
| character(len=:), | intent(out), | allocatable | :: | json |
Returned JSON. |
|
| character(len=*), | intent(in) | :: | log_id |
Log id. |