command
module
Version:
v0.0.0-...-a4eda1b
Opens a new window with list of versions in this module.
Published: Jan 3, 2015
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
mountMgo
Allows reading a mongodb as a fusefs.
working
ls mountpoint/
lists all collections in that database
ls mountpoint/collection
lists all documents with their _id
as filename
cat mountpoint/collection/document
returns the document content with json.MarshalIndent
todo/ideas
- collections are only read on startup
- check some corner cases
- documents in
xxx.index
collections don't have _id
fields, so they aren't listed yet
- maybe experiment with mgo's GridFS(http://godoc.org/labix.org/v2/mgo#GridFS)
credits
Documentation
¶
mountMgo access mongodb databases through fusefs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.