[%%%IF:QMODE:==visual;%%%] [@@@SUB-TEMPLATE:!lib/js/jshilitecode/templates/syntax-hilitecode-init.inc.htm!@@@] [%%%ELSE:QMODE%%%] [@@@SUB-TEMPLATE:partials/code-editor.mtpl.inc.htm@@@] [%%%/IF:QMODE%%%] [@@@SUB-TEMPLATE:partials/test-json.mtpl.inc.htm@@@]
MongoDB :: Database: [###DATABASE|html###] @ Collection: 
[@@@SUB-TEMPLATE:partials/mongodb-collections.mtpl.inc.htm@@@]   Refresh   New Record   Drop Collection
_id:
mongodb://[###HOST|html###]:[###PORT|html###]/[###DATABASE|html###].[###COLLECTION|html###] # [###COLL-TOT-SIZE-PRETTY|html###]
[%%%IF:QMODE:==visual;%%%] [@@@SUB-TEMPLATE:partials/json-editor.mtpl.inc.htm@@@]
[%%%ELSE:QMODE%%%]
[%%%/IF:QMODE%%%]
 
[%%%LOOP:SORTING%%%]  [###SORTING.HTML-FIELD###]
[%%%/LOOP:SORTING%%%]
    Show Records  
  Delete Records  
  Run Command  

[%%%IF:QMODE:==visual;%%%] [%%%ELSE:QMODE%%%] [%%%/IF:QMODE%%%]
 
Collection Indexes:    

				
[###ERROR|html###]
[@@@SUB-TEMPLATE:partials/mongodb-list-query-info.mtpl.inc.htm@@@] [%%%IF:IS-EMPTY-COLLECTION:==1;%%%]
This collection appears to be empty, contains no records ...
[%%%ELSE:IS-EMPTY-COLLECTION%%%] [%%%IF:RECORDS:@<=0;%%%] [%%%IF:IS-QUERY:!=yes;%%%]
MongoDB Manager hint: you can return anytime to this screen by using the `Refresh` button, from the top, above ...
To Display some records use a `Filter Criteria` and the following buttons: `Find Record` or `Show Records`.
To run a Database command, use the `Run Command` button.
Using the `Delete Records` button will DELETE `ALL the Matching Records` of the current `Filter Criteria`.
IMPORTANT: `ALL the Matching Records` means all database records that match the criteria not only the records currently shown on the page, if there are multiple pages.
[%%%ELSE:IS-QUERY%%%]
The [%%%IF:QFORMAT:==cmd;%%%]comand returned no output[%%%ELSE:QFORMAT%%%]`Filter Criteria` returned no records[%%%/IF:QFORMAT%%%] ...
[%%%/IF:IS-QUERY%%%] [%%%ELSE:RECORDS%%%]
[%%%LOOP:RECORDS%%%]
[%%%IF:RECORDS.-ID:!=;%%%]
ID: [###RECORDS.-ID|html###]
[%%%ELSE:RECORDS.-ID%%%]
 
[%%%/IF:RECORDS.-ID%%%] [###RECORDS.-NUM|int###]. [%%%IF:QFORMAT:!=cmd;%%%] [%%%/IF:QFORMAT%%%] UUID : [###RECORDS._ID|html###]
[%%%/LOOP:RECORDS%%%]
[%%%/IF:RECORDS%%%] [%%%/IF:IS-EMPTY-COLLECTION%%%] [%%%IF:PAGES:>0;%%%][%%%IF:NUM-RECORDS:>1;%%%] [@@@SUB-TEMPLATE:partials/mongodb-list-query-info.mtpl.inc.htm@@@] [%%%/IF:NUM-RECORDS%%%][%%%/IF:PAGES%%%]