Skip to content

File path to query-results file is always top project from projects list. #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
datavectors opened this issue Sep 3, 2018 · 0 comments

Comments

@datavectors
Copy link

In existdb/lib/existdb.coffee there is reference to the file "query-results" which is created whenever an xquery script is run in any of several project folders.

Line 158: promise = atom.workspace.open("query-results", { split: "down", activatePane: false })

However, the creation of the query-results filepath does not recognise that there might be multiple projects in Tree View (I have Atom package projects-manager installed). The query-result file is always placed in the top project folder, ignoring the project path where xquery was run. The query-result file should be saved in the launching project folder.

As a workaround I have made my topmost project “query-results” and this is where the single query-results are now saved for all queries across all projects. Ideally the path for query-results should be available on a per project basis. It might also be useful in settings if the name query-results also had options to append the name of the initiating xquery file. And/or the date/time of query. Thus, there could be a log of xquery results.

@ghost ghost added the triage label Sep 3, 2018
@ghost ghost removed the triage label Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants