Query {RBaseX} | R Documentation |
Creates a new query instance and returns it's id.
Query(session, query_string)
session |
BasexClient instance-ID |
query_string |
query string |
If paste0() is used to create a multi-line statement, the lines must be separeted by a space or a newline \n-character.
Query_ID
## Not run:
query_txt <- "for $i in 1 to 2 return <xml>Text { $i }</xml>"
query_obj <- Query(Session, query_txt)
print(Execute(query_obj))
## End(Not run)