MongoDB management artifact strikes! NexNoSqlClient doubles your efficiency!

background:

If you need to use MongoDB frequently in your daily work, then you must have experienced such pain points; cumbersome scripting, lengthy command line operations, complex data modeling and indexing, etc. These problems not only make our work efficiency low, but also prone to errors and loopholes, which bring risks to data security, so we urgently need a software that can help us solve these series of problems.

Foreword:

However, now with NexNoSalClient, these problems will no longer be a problem! NexNoSalClient is a cross-platform NoSOI cluster management tool, it can help us easily connect and manage ES, redis, MongoDB clusters, let us avoid tedious scripting and Verbose command line operations. More importantly, it provides a graphical operation interface, allowing us to add, delete, check and modify data, data modeling, index modification and other functions by simply clicking, which greatly improves our use efficiency and work quality.

Features:

1. Add a new MongoDB cluster

After installing the software, open the software--"upper left corner--"new-->select MongoDB, see the picture below:

 

2. Add collection

After adding the MongoDB cluster, you can click the "+" on the right of the cluster name, which is the position of the red box in the figure below, and a dialog box for adding a collection will pop up. Enter the collection name and click confirm, and the collection is added successfully.

 

3. Delete collection

Click on the newly added MongoDB cluster, NexNoSalClient will automatically display all the collections in the cluster, find the collection we want to delete, and click the trash can on the right of the collection name to delete the corresponding collection, as shown in the figure below:

 

4. Collection data operation

1. New document

When we add a collection, we can add a document. Click the collection we just added to open the collection data operation interface. Click the add button on the interface to pop up the add document dialog box, and enter the document we want to add. content, click confirm, and the document is added.

 

2. Query documents

The query function should be the most special feature of this software. First of all, it avoids us writing lengthy MongoDB scripts. For the fields in the collection, we can directly list them. Let’s take a look:

2.1. Support the list of collection fields:

 2.2. Rich operators:

Support =,>,>=,<,<=,!=,in,not in,exists,like, also supports sorting

For example, if we want to query userNo=72058 and arrange them in ascending order according to createTime, we only need to do this:

Isn’t it very convenient? I used to write a bunch of codes, but now I need to input 72058, and all the others are click operations.

3. Modify the document

After finding the document we want to modify, click the edit button to pop up the edit document dialog box

Modifying documents is another major feature of the software, which supports two styles of table and JSON

After the modification is complete, click confirm and the document modification is complete.

 

4. Delete the document

After finding the document we want to delete, click the delete button to delete the document, and there will be no screenshots here.

Five, collection index operation

Is adding an index a common operation of MongoDB, but it is also a pile of code, a pile of code.

1. Query index

When we switch to the index TAB page, we can see all the indexes of the current collection. By default, MongoDB makes an index on the _id field, which cannot be deleted.

 Let's click the create script of the index to see what the script for creating an index in MongoDB looks like:

db.abc343.createIndex({"_id":1},{"name":"_id_"})

2. New index

When we want to add an index, for example, we want to build an index on status:

Click the Add Index button on the interface to pop up the add index dialog box

First enter the index name. Of course, the index name is not mandatory. If you don’t enter it, MongoDB will automatically generate it.

Select the index field, whether the index is in ascending or descending order, and currently also indicates text and hash indexes

Select optional parameters, for example, we choose to execute in the background, and it is a unique index, refer to the following figure:

 

3. Delete the index

I won’t go into details about deleting the index. Find the index we want to delete and click the delete button.
 

postscript:

The editor has already used this software, and it feels very easy to use. If you are looking for an easy-to-use and powerful database management software, then NexNoSqlClient is definitely your best choice! Come and try it, I believe you will be pleasantly surprised!

Guess you like

Origin blog.csdn.net/duzm200542901104/article/details/130382610