-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Hi Matt,
Thanks for the great module. I found it very useful.
I have a schema like this,
const users = {
decription: 'Sitewide users',
type: userConnection,
args: connectionArgs,
resolve: (root, args) => connectionFromPromisedArray(resolveModelsByClass(User), args),
};
If I query only the first 5 users like this,
users (first: 5) {
edges {
node {
email
}
}
}
It executes :
SELECT "id", "username", "email", "roles", "createdAt", "updatedAt" FROM "users" AS "user";
How can I make the sql query made by sequelize precise?