Created
November 13, 2018 18:29
-
-
Save abhiaiyer91/76ea26acf57a5e498f4a8c7d60ae357f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Query { | |
user(where: UserWhereUniqueInput!): User | |
users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]! | |
usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection! | |
node(id: ID!): Node | |
} | |
type Mutation { | |
createUser(data: UserCreateInput!): User! | |
updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User | |
updateManyUsers(data: UserUpdateManyMutationInput!, where: UserWhereInput): BatchPayload! | |
upsertUser(where: UserWhereUniqueInput!, create: UserCreateInput!, update: UserUpdateInput!): User! | |
deleteUser(where: UserWhereUniqueInput!): User | |
deleteManyUsers(where: UserWhereInput): BatchPayload! | |
} | |
type Subscription { | |
user(where: UserSubscriptionWhereInput): UserSubscriptionPayload | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment