First, insert
1) Right click on the collection name-left click Insertdocument
2) Enter the JSON-formatted data in the popup dialog box and click Insert to complete the insertion.
Second, query
1) Select the collection you want to query, click Find;
Or click Find in the toolbar;
2) The query interface consists of four areas
{Find}: where the query criteria are entered, the query statement is case-sensitive;
The format is: {"Sendid": "000101"}, indicating the record of query sendid=000101;
When the query condition contains and, the format is: {"Sendid": "000101", "OPERPARAM5": "Vfre"}
When the query condition contains or, the format is: {$or: [{"Sendid": "000101"},{"Sendid": "1234567890"}]}
When the query condition contains like, the format is:
Operparam like '%set% ', {"Operparam": New RegExp (". Set.")}
{fields}: sets the field to be queried, does not fill in the default display of all fields, the field area format is: {"id": "", "Sendid": "", "AppId": ""}.
{sort} area: the area in which to set the sort method;
The format of the sort area is: {"id": 1} or {"id": -1},1 is sorted by ID in ascending order,-1 means sort by id descending.
The Limit is used to set how many records are returned, andskip is used to set how many records to skip.
Third, delete
Select the collection to be manipulated, click Remove to go to the delete panel, enter the query criteria to delete the data, click Remove, and confirm the deletion in the pop-up prompt box.
Iv. modification
Select the collection you want to manipulate, click Update to enter the Modify panel;
Enter the query condition on the left, enter the field name and value to be updated on the right;
Format such as: {$set: {"Sendid": "000102"}}
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
"MongoDB"-mongovue additions and deletions change the use of instructions