Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const variables = {
- terms,
- languages,
- stars,
- num,
- }
- const options = {
- paramRetrieval: true,
- fieldRetrieval: true,
- defineSubsets: {
- "terms": "=",
- "languages": "> string",
- "stars": ">= number",
- "num": "<= number"
- },
- queryPaths: {
- "stars": "node.stargazers.totalCount"
- },
- pathToNodes: "data.search.edges"
- }
Add Comment
Please, Sign In to add comment