Dear Hans,
I have a question regarding the client protocol: Can a query that has been prepared using the "QUERY" protocol message be executed only once, or multiple times?
a query that is created with the client protocol can also be executed once. After running the query, you should get an exception saying "The query has already been executed.".
The current approach shouldn’t represent any bottleneck, as query object are pretty light-weight objects. If your tests should yield unsatisfactory results, feel free to tell us more.
Is there some documentation or sample code that illustrates the expected sequence of client messages for query execution?
The example in our documentation refers to PHP, but it should be transferable to all other client APIs [1].
Best, Christian
[1] http://docs.basex.org/wiki/Query_Mode ___________________________
On Sat, Feb 23, 2013 at 9:41 PM, Hans Hübner hans.huebner@gmail.com wrote:
If it can be executed multiple times, with different
parameter sets, how is the previous execution ended? The documentation of the "CLOSE" message seems to indicate the the query is unregistered when it is closed.
Thanks, Hans
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk