The client can be used in 'standard' mode and in 'query' mode. Query mode is used to define queries, binding variables and for iterative evaluation.
new()
Initialize a new instance from QueryClass
QueryClass$new(query, Parent)
query
Query-string
Parent
The 'Parent' for this QueryClass-instance
QueryClass-instances can only be created by calling the 'Query'-method from the 'BasexClient'-class.
ExecuteQuery()
Executes a query.
QueryClass$ExecuteQuery()
Bind()
Binds a value to a variable.
QueryClass$Bind(...)
...
Binding Information
query_obj
QueryClass instance-ID
When using the primitive functions, this function can be chained.
Context()
Binds a value to the context. The type will be ignored if the string is empty.
QueryClass$Context(value, type)
value
Value that should be boud to the context
type
The type will be ignored when the string is empty
When using the primitive functions, this function can be chained.
Full()
Executes a query and returns a vector with all resulting items as strings, prefixed by the 'XDM' (Xpath Data Model) Meta Data <https://www.xdm.org/>.
QueryClass$Full()
More()
Indicates if there are any other results in the query-result.
QueryClass$More()
Next()
Returns the next result when iterating over a query
QueryClass$Next()
Info()
Returns a string with query compilation and profiling info.
QueryClass$Info()
Options()
Returns a string with all query serialization parameters, which can e.g. be assigned to the serializer option.
QueryClass$Options()
Updating()
Check if the query contains updating expressions.
QueryClass$Updating()
Close()
Closes and unregisters the query with the specified ID
QueryClass$Close()
When using the primitive functions, this function can be chained.
clone()
The objects of this class are cloneable with this method.
QueryClass$clone(deep = FALSE)
deep
Whether to make a deep clone.