A GraphQL style query library for Google Sheet written with Google Apps Script
Graphql Sheet Library (Preview)
1AkIU9D7-QTAytM1m7gALogopMttzp7Ir8ArWU_7K7zSvq8ZIT_kj64m4
function demo() {
const id = SpreadsheetApp.getActive().getId();
const db = new Graphql.create(id);
const users = db.query(
`query getActiveStatus($status:string!){
users(status:$status){
name
status
joinDate
gender
posts{
id
title
description
channels{
id
name
url
}
}
}
}`,
{ status: "active" }
);
console.log(users);
}