Query {RBaseX} | R Documentation |
Query
Description
Creates a new query instance and returns it's id.
Usage
Query(session, query_string)
Arguments
session |
BasexClient instance-ID |
query_string |
query string |
Details
If paste0() is used to create a multi-line statement, the lines must be separeted by a space or a newline \n-character.
Value
Query_ID
Examples
## 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)
[Package RBaseX version 1.1.2 Index]