jetbrains-plugin-graph-database-support icon indicating copy to clipboard operation
jetbrains-plugin-graph-database-support copied to clipboard

Choose data source

Open EricLepicier opened this issue 5 years ago • 2 comments

Hi,

I'm working with a single database, and still I have to choose the data source when executing a query.

It would be nice to have it chosen automatically (as it is the only one), or better to be able to check a database as beeing the default one in the Graph Database panel or in the database configuration panel.

Cheers, Eric

EricLepicier avatar May 04 '20 14:05 EricLepicier

@EricLepicier, to get around this behavior, I open a cypher editor using the Graph Database panel. I double click on a configured data source to open an editor using that specified data source and work with Neo4j that way. Executing queries in this editor always uses the data source. When I get my queries the way I want them I copy them over to my desired .cypher file.

Please provide a way to "permanently" choose a data source when working with a .cypher file to avoid the continual prompts for a data source.

humblepie avatar Nov 07 '20 16:11 humblepie

@humblepie Thanks for the tip! And this editor seems to be persisted, at least the prompt is no longer there when setting queries up. +1 on your idea to be able to associate a cypher file to a data source.

EricLepicier avatar Nov 09 '20 07:11 EricLepicier