This is a general question on linking objects in a Shiny app to a database table. What is the best approach to ensure the object in shiny is updated when the table in the db is modified? If we build a reactive table in shiny based on a db table, does it know when the db table changes?
e.g.
getPTI4Journal <- function() {
out <- tryCatch(
{
sqlquery <- "select PTI1,PTI2,PTI4,MODELSELECTED,VALUE, NOTE, CHANGED
from DF_JOURNALPTI4"
jdbcConnection <- getJdbcConn()
#Reading from Oracle
dbGetQuery(jdbcConnection, sqlquery)
},
finally={--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/fa97a88d-23a4-41eb-bed4-21b176dd0bdf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.