inst/moreTests/hack.R

ear.hn <- mongo("histNodes","EARecords")
tapp <- "ecd://epls.coe.fsu.edu/P4test"

nodes <- c("Physics","Energy")
paste('"',nodes,'"',sep="",collapse=",")
sprintf('{"app":"%s", "Nodes":[%s]}',tapp,
        paste('"',nodes,'"',sep="",collapse=","))
ear.hn$insert(sprintf('{"app":"%s", "Nodes":[%s]}',tapp,
                      paste('"',nodes,'"',sep="",collapse=",")))

ear.hn$find(buildJQuery(app=tapp),)
ralmond/EABN documentation built on Aug. 30, 2023, 12:52 p.m.