On Apr 7, 2022, at 1:25 PM, Tamara Marnell <tmarnell@orbiscascade.org> wrote: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!-TamaraOn Thu, Apr 7, 2022 at 9:49 AM Majewski, Steven Dennis (sdm7g) <sdm7g@virginia.edu> wrote:
It would be handy if there was a way to bind results to current context for additional inspection/investigation/query of results. Currently, it seems, you would have to save results to a file and then create database from that file to make an additional query on results.
That binding would be available from editor or input bar.
Or perhaps alternatively, it could include an option to base visualizations on results instead of open database — although I’m guessing the former would be easier to implement than the latter.
— Steve Majewski
--Tamara MarnellProgram Manager, SystemsOrbis Cascade Alliance (orbiscascade.org)Pronouns: she/her/hers