Changes

Jump to navigation Jump to search
9 bytes removed ,  15:53, 17 January 2016
no edit summary
<p>The query mode of the [[Clients]] allows you to bind external variables to a query
and evaluate the query in an iterative manner. The <code>query()</code> function of the
<code>Session</code> instance returns a new query instance.</p>
==Usage==
# Call <code>query()</code> with your XQuery expression to get a query object.
# Optionally bind variables to the query with one of the <code>bind()</code> functions.
# {{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.
# As an alternative, call <code>execute()</code> to get the whole result at a time.
* Documentation: http://basex.org/api
*
* (C) BaseX Team 2005-1115, BSD License
*/
include("BaseXClient.php");
</pre>
[[Category:Developer]]=Changelog= ;Version 7.2[[Category:Server]][[Category* Added:API]]{{Code|context()}} function
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu