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.