Hi Steven,
To save a few clicks, you can create a new database directly from your results in XQuery, without saving them to a file first. Instead of returning the results outright, assign them to a variable to pass as the input to db:create() in the return, with a made-up file name for the path.
let $results := <results>{
[Your original return in here]
}</results>
return db:create('my_results_db', $results, 'my_results.xml')
Then you can run further queries using db:open('my_results_db')/results, and DROP my_results_db in the command input bar when you don't need it anymore.
This isn't to say a new feature isn't a good idea, just that there's a way you can streamline your workflow before that feature exists!
-Tamara