test_connection_button_clicked {DQAgui}R Documentation

Checks if an connection can be established to the system.

Description

After the button "Check connection" is pressed in the GUI, this function will be called and tries to connect to this system and feedbacks the result to the user. If the connection is successfully established, the button will be disabled and this connection will be stored as valid for the given source/target system.

Usage

test_connection_button_clicked(
  rv,
  source_target,
  db_type,
  input,
  output,
  session
)

Arguments

rv

The global 'reactiveValues()' object, defined in server.R

source_target

(String) "source" or "target"

db_type

(String) "postgres" or "oracle"

input

Shiny server input object

output

Shiny server output object

session

Shiny session object

Value

true if the connection could be established and false otherwise (also if an error occurred)


[Package DQAgui version 0.2.4 Index]