Adding graphene support for mongoengine Models, inspired in Django
Project description
# graphene-mongoengine
## Supporting mongonengine connection for graphene
Inspired in graphene_django, we can use this package to manage information stored in MongoDB.
For doing this, we will use Mongoengine package. It's quite simple:
`
from graphene_mongoengine import MongoEngineObjectType
class MyExampleNode(MongoEngineObjectType):
class Meta:
document = MyExampleModel
`
## Supporting mongonengine connection for graphene
Inspired in graphene_django, we can use this package to manage information stored in MongoDB.
For doing this, we will use Mongoengine package. It's quite simple:
`
from graphene_mongoengine import MongoEngineObjectType
class MyExampleNode(MongoEngineObjectType):
class Meta:
document = MyExampleModel
`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file graphene-mongoengine-0.1.tar.gz
.
File metadata
- Download URL: graphene-mongoengine-0.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f8af352e0dfd40cd2a71a86d84fe02c53aee58364eb7786792ef2cfbf1481e5 |
|
MD5 | 93036aad69d177367fd9fe3c10e2e58f |
|
BLAKE2b-256 | 60b305495f677edcd3004b6668778691559f3804723282c70f5bfa6457135b91 |