# Call the <code>query()</code> function of the session with the query as argument to get your query object.
# Optionally bind variables to the query with the <code>bind()</code> function.
# Initialize query output via <code>init()</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.
# Optionally, call <code>info()</code> to get gives you information on query evaluation.# <code>options()</code> returns the number of results, query time, etcserialization parameters.
# Close the query with <code>close()</code>.