I'm connecting to a local MongoDB instance installed through brew via the IntelliJ Database tool.
I can see and query things; but as soon as I try to update a record eg set a database lock back to false I get the error This table is read-only. Changes cannot be applied.
The same thing doesn't happen using the console. I've attempted to toggle the Read-only checkbox under Datasource properties > Options.
Is there another setting somewhere else I'm missing?
To connect to a MongoDB database, head over to the Database tool window on the the right side of the IDE and click on the + (New) button. Select Data Source then MongoDB as the data source type. Customize the name of the data source, connection details, then click on the Test link to ensure everything is ok.
As of intellij version 2017.1, search for the plugin "Database navigator" in Settings -> Plugins. Then you can open the db browser from View -> Tool Windows -> DB Browser.
In the Database tool window (View | Tool Windows | Database), you can work with databases and DDL data sources. You can view and modify data structures in your databases, and perform other associated tasks. To view a table, double-click the table.
It is not yet supported. Please vote for this request: DBE-9375.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With