GP
Size: a a a
GP
LA
DR
LA
LA
Sequelize.define("Example", {
type: DataTypes.ENUM,
values: ['New']
})
Example.create("New");LA
LA
GP
YZ
Б
Б
const response = await models.sequelize.query(
`
SELECT
SUM("Statistics"."quantityPrinted") AS "quantityPrinted"
FROM "Cartridges"
left JOIN "Statistics" on "Statistics"."cartridgeId" = "Cartridges".id
WHERE "Cartridges".id = 2
`,
{ type: models.sequelize.QueryTypes.SELECT }
);
Б
YZ
Б
Б
YZ
Б
YZ