Generic database update function.
Updates the given node in database. The node data is validated by default.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(node_type), | intent(inout) | :: | node |
Node to update. |
||
logical, | intent(in), | optional | :: | validate |
Validate node. |
Updates given sensor in database. The sensor data is validated by default.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(sensor_type), | intent(inout) | :: | sensor |
Sensor to update. |
||
logical, | intent(in), | optional | :: | validate |
Validate sensor. |
Updates the given target in database. The target data is validated by default.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(db_type), | intent(inout) | :: | db |
Database type. |
||
type(target_type), | intent(inout) | :: | target |
Target to update. |
||
logical, | intent(in), | optional | :: | validate |
Validate target. |