Changes

Jump to navigation Jump to search
56 bytes removed ,  22:30, 16 March 2012
# Create a new session instance with hostname, port, username and password.
# Call the <code>query()</code> function of the session with the query as argument your XQuery expression to get your a query object.# Optionally bind variables to the query with one of the <code>bind()</code> functionfunctions.# {{Version|7.2:}} Optionally bind a value to the context item via <code>context()</code>.# Iterate through the query object with the <code>more()</code> and <code>next()</code> functions. If an error occurs, an exception is thrown.# As an alternative, call <code>execute()</code> to get the whole result at a time. This will be faster in most cases, as the socket communication will be limited to a single call.
# <code>info()</code> gives you information on query evaluation.
# <code>options()</code> returns the query serialization parameters.
# Close Don't forget to close the query with <code>close()</code>.
==PHP Example==
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu