Learn R Programming

RBaseX (version 1.1.2)

Query: Query

Description

Creates a new query instance and returns it's id.

Usage

Query(session, query_string)

Value

Query_ID

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.

Examples

Run this code
if (FALSE) {
query_txt <- "for $i in 1 to 2 return Text { $i }"
query_obj <- Query(Session, query_txt)
print(Execute(query_obj))
}

Run the code above in your browser using DataLab