Database table row access functions.
Generic table row access function.
Reads string from table row and returns it as allocatable character
string. Column types are validated by default. Returns E_DB_TYPE
if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| character(len=:), | intent(out), | allocatable | :: | string |
Allocatable character string. |
|
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads string from table row. The passed argument str must be
allocated! Column types are validated by default. Returns
E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| character(len=*), | intent(inout) | :: | string |
Character string. |
||
| integer, | intent(out) | :: | nbyte |
Size of string in bytes. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads beat data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(beat_type), | intent(inout) | :: | beat |
Beat type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads observation data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(dp_type), | intent(inout) | :: | dp |
Data point type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads image data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(image_type), | intent(inout) | :: | image |
Image type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads log data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(log_type), | intent(inout) | :: | log |
Log type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads node data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(node_type), | intent(inout) | :: | node |
Node type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads observation data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(observ_type), | intent(inout) | :: | observ |
Observation type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads observation data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(observ_view_type), | intent(inout) | :: | view |
Observation view type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads sensor data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(sensor_type), | intent(inout) | :: | sensor |
Sensor type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads string from table row and returns it as derived type
string_type. Column types are validated by default. Returns
E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(string_type), | intent(out) | :: | string |
String type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads sync data from table row. Returns E_DB_TYPE on error.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(sync_type), | intent(inout) | :: | sync |
Sync type. |
Reads target data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(target_type), | intent(inout) | :: | target |
Target type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |
Reads transfer data from table row. Column types are validated by
default. Returns E_DB_TYPE if the validation failed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(db_stmt_type), | intent(inout) | :: | dbs |
Database statement type. |
||
| type(transfer_type), | intent(inout) | :: | transfer |
Transfer type. |
||
| logical, | intent(in), | optional | :: | validate |
Validate column types. |