Menu

#2 XQEngine.setQuery (Reader)

open
nobody
None
5
2004-01-30
2004-01-30
No

It would be nice to have an XQEngine.setQuery (Reader)
method. This could actually replace the
setQueryFromFile method if you wish. This would make it
easier for apps to have their queries in resources or
something other than strings or separate files.

Note that providing XQEngine.setQuery(Reader) makes the
code for XQEngine.setQuery(String) and
XQEngine.setQueryFromFile(String) very easy - they just
need to create the appropriate reader & call
XQEngine.setQuery(Reader)

Discussion


Log in to post a comment.

MongoDB Logo MongoDB