Attempts to reconnect a disconnected SemsqlConn object to its
database. Returns a new SemsqlConn; the original cannot be modified
in place due to S7 value semantics.
reconnect(x, ...)A new SemsqlConn object with an active connection.
goref <- semsql_connect(ontology = "go")
#> Connected to SemanticSQL database: /home/runner/.cache/R/BiocFileCache/51aa7efd341e_go.db
#> Primary ontology prefix: GO
disconnect(goref)
#> Disconnected from '51aa7efd341e_go.db'
goref <- reconnect(goref)
#> Connected to SemanticSQL database: /home/runner/.cache/R/BiocFileCache/51aa7efd341e_go.db
#> Primary ontology prefix: GO
disconnect(goref)
#> Disconnected from '51aa7efd341e_go.db'