https://github.com/bearddan2000/python-cli-mongodb-orm-select-all
A mongoengine example w/o login.
https://github.com/bearddan2000/python-cli-mongodb-orm-select-all
all cli mongodb mongoengine orm python select
Last synced: 12 months ago
JSON representation
A mongoengine example w/o login.
- Host: GitHub
- URL: https://github.com/bearddan2000/python-cli-mongodb-orm-select-all
- Owner: bearddan2000
- Created: 2022-01-27T20:53:41.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-27T20:53:43.000Z (about 4 years ago)
- Last Synced: 2025-01-29T16:33:01.466Z (about 1 year ago)
- Topics: all, cli, mongodb, mongoengine, orm, python, select
- Language: Shell
- Homepage: https://github.com/bearddan2000/python-cli-mongodb-orm-select-all
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# python-cli-mongodb-orm-select-all
## Description
A mongoengine example w/o login.
Creates a single collection `weapon`
inside `test` database. Inserts a
single record then prints the whole
collection and the collections inside
`test` database.
Creates an index on the `name` field.
## Tech stack
- python
- mongoengine
- mongodb
## Docker stack
- python:latest
## To run
`sudo ./install.sh -u`
## To stop (optional)
`sudo ./install.sh -d`
## For help
`sudo ./install.sh -h`
# Credits
[Examples](https://www.tutorialspoint.com/mongoengine/index.htm)