* The {{Code|query()}} method creates a query instance. Variables and the context item can be bound to that instance, and the result can either be requested via {{Code|execute()}}, or in an iterative manner with the {{Code|more()}} and {{Code|next()}} functions. If an error occurs, an exception will be thrown.
* The {{Code|create()}}, {{Code|add()}}, {{Code|replace()}} and {{Code|store()}} method methods pass on input streams to the corresponding database commands.
* To speed up execution, an output stream can be specified by some clients; this way, all results will be directed to that output stream.