Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getStudent: (parent, args, { models }, info) =>
joinMonster.default(info, args, sql =>
models.sequelize.query(sql, { type: models.sequelize.QueryTypes.SELECT }),
),
},
getSubject: (parent, args, { models }, info) =>
joinMonster.default(info, args, sql =>
models.sequelize.query(sql, { type: models.sequelize.QueryTypes.SELECT }),
),
},
user(parent, args, ctx, resolveInfo) {
return joinMonster(resolveInfo, ctx, sql => {
return db.all(sql)
}, { dialect: 'sqlite3' })
}
},