{"id":18105690,"url":"https://github.com/WindSoilder/nu_plugin_mongo","last_synced_at":"2025-03-29T13:31:02.915Z","repository":{"id":259060173,"uuid":"874634775","full_name":"WindSoilder/nu_plugin_mongo","owner":"WindSoilder","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-22T00:03:52.000Z","size":57,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-22T03:20:52.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WindSoilder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-18T07:26:39.000Z","updated_at":"2024-10-22T00:03:55.000Z","dependencies_parsed_at":"2024-10-22T21:44:38.488Z","dependency_job_id":null,"html_url":"https://github.com/WindSoilder/nu_plugin_mongo","commit_stats":null,"previous_names":["windsoilder/nu_plugin_mongo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindSoilder%2Fnu_plugin_mongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindSoilder%2Fnu_plugin_mongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindSoilder%2Fnu_plugin_mongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WindSoilder%2Fnu_plugin_mongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WindSoilder","download_url":"https://codeload.github.com/WindSoilder/nu_plugin_mongo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246190297,"owners_count":20738007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T23:00:29.540Z","updated_at":"2025-03-29T13:31:02.900Z","avatar_url":"https://github.com/WindSoilder.png","language":"Rust","readme":"# nu_plugin_mongo\n\nA nushell plugin to interactive with [mongodb](https://www.mongodb.com).\n\nSometimes I want to explore mongodb data, but I don't want to open `mongo` shell or `python` to query mongodb data.\n\nI want to have more lite weight tool to explore data.  So here is the plugin.\n\n## Demo\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"600\" src=\"demo.svg\"\u003e\n\u003c/p\u003e\n\n## Note\n\n- All I want to do is query and explore data, so the plugin includes query commands only.\n- You might note that the command prefix is `mongoc`, not `mongo`.  Because I don't want to make the name conflict with official lagacy [mongo](https://www.mongodb.com/docs/manual/reference/mongo/) cli.\n\n## Usage\n\n1. First, you need to have latest nushell installed(Of cause it's a nushell plugin).\n2. Then you can install from `cargo`\n```\ncargo install nu_plugin_mongo\n```\n3. Add and use the plugin: `plugin add \u003cnu_plugin_mongo_path\u003e; plugin use mongo`\n4. Then you will gain some `mongoc` commands to play with.\n\n\n## Full help\n\n```nushell\nOperate with mongodb\n\nYou must use one of the following subcommands. Using this command as-is will only produce this help message.\n\nUsage:\n  \u003e mongoc\n\nSubcommands:\n  mongoc count (plugin) - count mongodb documents\n  mongoc delete-many (plugin) - delete many mongodb documents\n  mongoc delete-one (plugin) - delete one mongodb document\n  mongoc drop (plugin) - drop a mongodb collection\n  mongoc estimated (plugin) - estimated mongodb documents count\n  mongoc find (plugin) - find mongodb documents\n  mongoc find-one (plugin) - find mongodb documents\n  mongoc list (plugin) - list mongodb connections\n  mongoc list-colls (plugin) - list all available collection names\n  mongoc list-indexes (plugin) - find mongodb documents\n  mongoc open (plugin) - open mongodb connection, the url must contains default databse\n  mongoc remove (plugin) - remove mongodb handles\n  mongoc select (plugin) - select current mongodb handle\n\nFlags:\n  -h, --help: Display the help message for this command\n\nInput/output types:\n  ╭───┬─────────┬────────╮\n  │ # │  input  │ output │\n  ├───┼─────────┼────────┤\n  │ 0 │ nothing │ string │\n  ╰───┴─────────┴────────╯\n```\n","funding_links":[],"categories":["Plugins"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWindSoilder%2Fnu_plugin_mongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWindSoilder%2Fnu_plugin_mongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWindSoilder%2Fnu_plugin_mongo/lists"}