[Feature Request] Collection menu with default queries
dprice opened this issue · comments
It would be great to have a right-click menu option on either Collection\Items tree node that would contains some pre-defined generic queries that would open in a SQL query view.
Here's an example from LINQPad:
NOTE: The above expressions are in C# but you get the idea. Microsoft's SQL Server Management Studio has something similar.
I would love to help but I know nothing about WPF development. I added these commands to the right-click menu:
in CosmosDbExplorer\src\CosmosDbExplorer\Views\DatabaseView.xaml
, but have no idea how to pass the information to the QueryEditorViewModel.Load()
method to know how to inject the correct SQL. Any suggestions?