dm_db_select_sync_node Function

public function dm_db_select_sync_node(db, sync) result(rc)

Uses

  • proc~~dm_db_select_sync_node~~UsesGraph proc~dm_db_select_sync_node dm_db_select_sync_node module~dm_sync dm_sync proc~dm_db_select_sync_node->module~dm_sync module~dm_kind dm_kind module~dm_sync->module~dm_kind module~dm_observ dm_observ module~dm_sync->module~dm_observ module~dm_string dm_string module~dm_sync->module~dm_string module~dm_time dm_time module~dm_sync->module~dm_time module~dm_uuid dm_uuid module~dm_sync->module~dm_uuid iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env module~dm_observ->module~dm_kind module~dm_observ->module~dm_time module~dm_observ->module~dm_uuid module~dm_error dm_error module~dm_observ->module~dm_error module~dm_id dm_id module~dm_observ->module~dm_id module~dm_node dm_node module~dm_observ->module~dm_node module~dm_request dm_request module~dm_observ->module~dm_request module~dm_response dm_response module~dm_observ->module~dm_response module~dm_sensor dm_sensor module~dm_observ->module~dm_sensor module~dm_target dm_target module~dm_observ->module~dm_target module~dm_util dm_util module~dm_observ->module~dm_util module~dm_string->module~dm_kind module~dm_string->module~dm_error module~dm_time->module~dm_kind module~dm_time->module~dm_error module~dm_time->module~dm_util module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii module~dm_node->module~dm_kind module~dm_node->module~dm_id module~dm_request->module~dm_kind module~dm_request->module~dm_string module~dm_request->module~dm_time module~dm_request->module~dm_error module~dm_request->module~dm_id module~dm_request->module~dm_response module~dm_request->module~dm_util module~dm_response->module~dm_kind module~dm_response->module~dm_error module~dm_response->module~dm_id module~dm_response->module~dm_util module~dm_sensor->module~dm_kind module~dm_sensor->module~dm_id module~dm_sensor->module~dm_node module~dm_target->module~dm_kind module~dm_target->module~dm_id module~dm_target->module~dm_util module~dm_util->module~dm_kind module~dm_util->module~dm_error

Returns node synchronisation data (oldest not transmitted node).

The function returns the following error codes:

  • E_DB_NO_ROWS if no rows are returned.
  • E_DB_PREPARE if statement preparation failed.

Arguments

Type IntentOptional Attributes Name
type(db_type), intent(inout) :: db

Database type.

type(sync_type), intent(out) :: sync

Returned sync data.

Return Value integer


Calls

proc~~dm_db_select_sync_node~~CallsGraph proc~dm_db_select_sync_node dm_db_select_sync_node proc~dm_is_ok dm_is_ok proc~dm_db_select_sync_node->proc~dm_is_ok proc~dm_sync_type_is_valid dm_sync_type_is_valid proc~dm_db_select_sync_node->proc~dm_sync_type_is_valid sqlite3_finalize sqlite3_finalize proc~dm_db_select_sync_node->sqlite3_finalize sqlite3_prepare_v2 sqlite3_prepare_v2 proc~dm_db_select_sync_node->sqlite3_prepare_v2 sqlite3_step sqlite3_step proc~dm_db_select_sync_node->sqlite3_step