-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathabout_FarMongo.help.txt
61 lines (42 loc) · 2.03 KB
/
about_FarMongo.help.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
TOPIC
about_FarMongo
SHORT DESCRIPTION
MongoDB browser in Far Manager
LONG DESCRIPTION
**WARNING**: With this module tools you can change and delete databases,
collections, documents, and data. Use it on your own risk and be careful.
Requires:
- Far Manager, FarNet, PowerShellFar
- MongoDB server http://www.mongodb.org/
- Mdbc module https://github.com/nightroman/Mdbc
Optional:
- BsonFile module https://github.com/nightroman/BsonFile
FarMongo provides the following commands:
Open-MongoPanel
Edit-MongoJsonLine
Open-MongoPanel
This command opens Far Manager panels for browsing MongoDB data.
Views and aggregation pipelines are supported.
Panels and features:
Documents: view, edit, create, delete documents
Databases: view, delete databases, open collection panels
Collections: view, rename, delete collections, open document panels
Import the module and get help about parameters and features:
Import-Module FarMongo
help Open-MongoPanel -full
Edit-MongoJsonLine
This command helps to edit JSON strings with escaped characters, for
example multiline strings, when JSON is opened in the editor. See
help Edit-MongoJsonLine
In FarMongo JSON editors opened from panels by [F4] or [F7] this command
may be invoked by pressing [F4] at the line to be edited.
The command may be used in other JSON editors but it should be invoked
manually, for example from the PowerShellFar command box or using a macro.
BSON/JSON FILES
With optional BsonFile module, you can browse and edit BSON/JSON files:
Open-MongoPanel -BsonFile ...\MyData.bson
If you change data then on closing you are prompted to export data.
Alternatively, use the menu [F1] \ "Export data to file", any time.
See BsonFile documentation for some details about its work.
SEE ALSO
Release Notes https://github.com/nightroman/FarMongo/blob/main/Release-Notes.md