Get the information about a command (if still available) and return TRUE if the command was completed successfully or not. Always TRUE for synchronous operations.

# S4 method for OpalResult
dsIsCompleted(res)

Arguments

res

OpalResult-class object.

Value

A logical indicating the command completion.

Examples

if (FALSE) {
con <- dbConnect(DSOpal::Opal(), "server1",
  "username", "password", "https://opal.example.org")
dsAssignExpr(con, "C", as.symbol("c(1, 2, 3)"))
res <- dsAggregate(con, as.symbol("length(C)"))
dsIsCompleted(res)
dsDisconnect(con)
}