Created
August 17, 2020 14:54
-
-
Save robabby/5b10ed8dac9e2b1ce4c43654d489618b to your computer and use it in GitHub Desktop.
Schema with Pagination Example
This file contains hidden or 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 Logo { | |
id: String! | |
url: String! | |
image_id: String! | |
platform: Platform | |
platformId: String | |
} | |
type Query { | |
findManyLogo(where: LogoWhereInput, orderBy: LogoOrderByInput, cursor: LogoWhereUniqueInput, skip: Int, take: Int): [Logo!] | |
} | |
input LogoWhereInput { | |
id: StringFilter | |
url: StringFilter | |
image_id: StringFilter | |
platformId: NullableStringFilter | |
AND: [LogoWhereInput!] | |
OR: [LogoWhereInput!] | |
NOT: [LogoWhereInput!] | |
platform: PlatformWhereInput | |
} | |
input LogoOrderByInput { | |
id: SortOrder | |
url: SortOrder | |
image_id: SortOrder | |
platformId: SortOrder | |
} | |
input LogoWhereUniqueInput { | |
id: String | |
} | |
enum SortOrder { | |
asc | |
desc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment