We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f36e35 commit 033f76fCopy full SHA for 033f76f
README.md
@@ -43,6 +43,10 @@ from graphene_sqlalchemy import SQLAlchemyObjectType
43
class User(SQLAlchemyObjectType):
44
class Meta:
45
model = UserModel
46
+ # use `only_fields` to only expose specific fields ie "name"
47
+ # only_fields = ("name",)
48
+ # use `exclude_fields` to exclude specific fields ie "last_name"
49
+ # exclude_fields = ("last_name",)
50
51
class Query(graphene.ObjectType):
52
users = graphene.List(User)
0 commit comments