dm_db_update Interface

public interface dm_db_update

Generic database update function.

Calls

interface~~dm_db_update~~CallsGraph interface~dm_db_update dm_db_update proc~dm_db_update_node dm_db_update_node interface~dm_db_update->proc~dm_db_update_node proc~dm_db_update_sensor dm_db_update_sensor interface~dm_db_update->proc~dm_db_update_sensor proc~dm_db_update_target dm_db_update_target interface~dm_db_update->proc~dm_db_update_target proc~dm_node_is_valid dm_node_is_valid proc~dm_db_update_node->proc~dm_node_is_valid sqlite3_bind_double sqlite3_bind_double proc~dm_db_update_node->sqlite3_bind_double sqlite3_bind_text sqlite3_bind_text proc~dm_db_update_node->sqlite3_bind_text sqlite3_finalize sqlite3_finalize proc~dm_db_update_node->sqlite3_finalize sqlite3_prepare_v2 sqlite3_prepare_v2 proc~dm_db_update_node->sqlite3_prepare_v2 sqlite3_step sqlite3_step proc~dm_db_update_node->sqlite3_step proc~dm_sensor_is_valid dm_sensor_is_valid proc~dm_db_update_sensor->proc~dm_sensor_is_valid proc~dm_db_update_sensor->sqlite3_bind_double sqlite3_bind_int sqlite3_bind_int proc~dm_db_update_sensor->sqlite3_bind_int proc~dm_db_update_sensor->sqlite3_bind_text proc~dm_db_update_sensor->sqlite3_finalize proc~dm_db_update_sensor->sqlite3_prepare_v2 proc~dm_db_update_sensor->sqlite3_step proc~dm_target_is_valid dm_target_is_valid proc~dm_db_update_target->proc~dm_target_is_valid proc~dm_db_update_target->sqlite3_bind_double proc~dm_db_update_target->sqlite3_bind_int proc~dm_db_update_target->sqlite3_bind_text proc~dm_db_update_target->sqlite3_finalize proc~dm_db_update_target->sqlite3_prepare_v2 proc~dm_db_update_target->sqlite3_step proc~dm_id_is_valid dm_id_is_valid proc~dm_node_is_valid->proc~dm_id_is_valid proc~dm_sensor_is_valid->proc~dm_id_is_valid proc~dm_sensor_type_is_valid dm_sensor_type_is_valid proc~dm_sensor_is_valid->proc~dm_sensor_type_is_valid proc~dm_target_is_valid->proc~dm_id_is_valid proc~dm_target_state_is_valid dm_target_state_is_valid proc~dm_target_is_valid->proc~dm_target_state_is_valid

Module Procedures

public function dm_db_update_node(db, node, validate) result(rc)

Updates the given node in database. The node data is validated by default.

Read more…

Arguments

Type IntentOptional 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.

Return Value integer

public function dm_db_update_sensor(db, sensor, validate) result(rc)

Updates given sensor in database. The sensor data is validated by default.

Read more…

Arguments

Type IntentOptional 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.

Return Value integer

public function dm_db_update_target(db, target, validate) result(rc)

Updates the given target in database. The target data is validated by default.

Read more…

Arguments

Type IntentOptional 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.

Return Value integer